Merge pull request #10810 from vector-im/nadonomy/install-guide

Update install guide
This commit is contained in:
David Baker 2019-09-10 18:36:35 +01:00 committed by GitHub
commit 89e9ac8039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 64 deletions

File diff suppressed because one or more lines are too long

View File

@ -92,9 +92,12 @@ async function initPage() {
if (isUrl && !isUrl.endsWith('/')) isUrl += '/';
if (hsUrl !== 'https://matrix.org/') {
document.getElementById('configure_riot_button').href =
"https://riot.im/config/config?hs_url=" + encodeURIComponent(hsUrl) +
"&is_url=" + encodeURIComponent(isUrl);
document.getElementById('step2_container').style.display = 'block';
document.getElementById('hs_url').innerText = hsUrl;
document.getElementById('step_login_header').innerHTML= 'Step 3: Register or Log in';
document.getElementById('step_login_header').innerHTML= '3: Launch the app';
if (isUrl && isUrl !== "https://vector.im/") {
document.getElementById('default_is').style.display = 'none';