Fix main page refresh if runnin on non-standard port

This commit is contained in:
Taylor Helsper 2022-06-12 22:08:49 -05:00
parent 08a77f2171
commit 998dfdb37b

View File

@ -157,7 +157,11 @@
}
function refresh_page() {
window.location.href=location.protocol+'//'+location.hostname+"/";
p = ""
if ( location.port != "" && location.port != "80" && location.port != "443" ) {
p = ":" + location.port
}
window.location.href=location.protocol+'//'+location.hostname+p+"/";
}
function need_to_update_tx_table(transactions, last_displayed_tx) {