Merge pull request #10810 from vector-im/nadonomy/install-guide
Update install guide
This commit is contained in:
commit
89e9ac8039
2 changed files with 52 additions and 64 deletions
File diff suppressed because one or more lines are too long
|
@ -92,9 +92,12 @@ async function initPage() {
|
||||||
if (isUrl && !isUrl.endsWith('/')) isUrl += '/';
|
if (isUrl && !isUrl.endsWith('/')) isUrl += '/';
|
||||||
|
|
||||||
if (hsUrl !== 'https://matrix.org/') {
|
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('step2_container').style.display = 'block';
|
||||||
document.getElementById('hs_url').innerText = hsUrl;
|
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/") {
|
if (isUrl && isUrl !== "https://vector.im/") {
|
||||||
document.getElementById('default_is').style.display = 'none';
|
document.getElementById('default_is').style.display = 'none';
|
||||||
|
|
Loading…
Reference in a new issue