Merge pull request #11544 from aaronraimist/mobile-guide-no-default-is
Remove mention of vector.im as default identity server on mobile guidepull/11591/head
commit
86b6123305
|
@ -333,7 +333,6 @@ body {
|
||||||
<a class="mx_Button" id="configure_riot_button" href="#">Configure</a>
|
<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 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">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>
|
<p class="mx_Subtext" id="custom_is">Identity Server: <em id="is_url"></em></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -99,8 +99,7 @@ async function initPage() {
|
||||||
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;
|
||||||
|
|
||||||
if (isUrl && isUrl !== "https://vector.im/") {
|
if (isUrl) {
|
||||||
document.getElementById('default_is').style.display = 'none';
|
|
||||||
document.getElementById('custom_is').style.display = 'block';
|
document.getElementById('custom_is').style.display = 'block';
|
||||||
document.getElementById('is_url').style.display = 'block';
|
document.getElementById('is_url').style.display = 'block';
|
||||||
document.getElementById('is_url').innerText = isUrl;
|
document.getElementById('is_url').innerText = isUrl;
|
||||||
|
|
Loading…
Reference in New Issue