forked from bitcoinafterlife/bal-welist-website
Hide regtest tab when not on localhost
This commit is contained in:
@@ -475,6 +475,13 @@ footer a{color:var(--accent);text-decoration:none}
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
if (window.location.hostname !== 'localhost') {
|
||||||
|
const regtestBtn = document.querySelector('#chainSeg [data-c="regtest"]');
|
||||||
|
if (regtestBtn) {
|
||||||
|
regtestBtn.style.display = 'none';
|
||||||
|
regtestBtn.setAttribute('aria-pressed', 'false');
|
||||||
|
}
|
||||||
|
}
|
||||||
let allServers = [];
|
let allServers = [];
|
||||||
let withTor = true, q = "";
|
let withTor = true, q = "";
|
||||||
let minAmount = 50000;
|
let minAmount = 50000;
|
||||||
|
|||||||
Reference in New Issue
Block a user