mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-13 17:09:15 +00:00
Fix main page refresh if runnin on non-standard port
This commit is contained in:
parent
08a77f2171
commit
998dfdb37b
|
@ -157,7 +157,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function refresh_page() {
|
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) {
|
function need_to_update_tx_table(transactions, last_displayed_tx) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user