mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-07 05:06:38 +02:00
Don't show custom server bit on matrix.org
On mobile guide Part of https://github.com/vector-im/riot-web/issues/7378
This commit is contained in:
parent
a371bede4d
commit
bc8323f96b
@ -13,6 +13,7 @@ async function initPage() {
|
||||
if (config && config['default_hs_url']) {
|
||||
hsUrl = config['default_hs_url'];
|
||||
}
|
||||
if (hsUrl && !hsUrl.endsWith('/')) hsUrl += '/';
|
||||
if (hsUrl && hsUrl !== 'https://matrix.org/') {
|
||||
document.getElementById('step2_container').style.display = 'block';
|
||||
document.getElementById('hs_url').innerHTML = hsUrl;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user