Merge pull request #10831 from vector-im/dbkr/install_guide_2

Update install guide
pull/10920/head
David Baker 2019-09-11 18:33:39 +01:00 committed by GitHub
commit a75c0eca36
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';