Fixing txhash url change
This commit is contained in:
parent
55ea4a4f2a
commit
3efb4da2e7
@ -790,13 +790,11 @@
|
||||
|
||||
var hashvalue = location.hash.slice(1);
|
||||
if(hashvalue==''){
|
||||
debugger;
|
||||
render("homepage");
|
||||
history.pushState(appState, null, '');
|
||||
getAllSuggestions();
|
||||
}
|
||||
else{
|
||||
debugger;
|
||||
await getAllSuggestions();
|
||||
categoriseText(hashvalue);
|
||||
}
|
||||
@ -832,7 +830,7 @@
|
||||
page: "transaction_page",
|
||||
thisField: e.target.closest(".transaction").id,
|
||||
};
|
||||
history.pushState(appState, null, `#${e.target.textContent}`)
|
||||
history.pushState(appState, null, `#${appState.thisField}`)
|
||||
}
|
||||
if (e.target.closest(".block-height") && prevField !== e.target.textContent) {
|
||||
render("block_page", e.target.textContent);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user