Merge pull request #11544 from aaronraimist/mobile-guide-no-default-is

Remove mention of vector.im as default identity server on mobile guide
This commit is contained in:
Travis Ralston 2019-11-28 09:22:47 -07:00 committed by GitHub
commit 86b6123305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -333,7 +333,6 @@ body {
<a class="mx_Button" id="configure_riot_button" href="#">Configure</a>
<p class="mx_Subtext mx_SubtextTop">Tap the button above, or manually enable <em>Use custom server</em> and enter:</p>
<p class="mx_Subtext">Homeserver: <em id="hs_url"></em></p>
<p class="mx_Subtext" id="default_is">Identity Server: <em>https://vector.im</em> (default)</p>
<p class="mx_Subtext" id="custom_is">Identity Server: <em id="is_url"></em></p>
</div>
</div>

View File

@ -99,8 +99,7 @@ async function initPage() {
document.getElementById('step2_container').style.display = 'block';
document.getElementById('hs_url').innerText = hsUrl;
if (isUrl && isUrl !== "https://vector.im/") {
document.getElementById('default_is').style.display = 'none';
if (isUrl) {
document.getElementById('custom_is').style.display = 'block';
document.getElementById('is_url').style.display = 'block';
document.getElementById('is_url').innerText = isUrl;