From 3efb4da2e7f2a8ef258981929f4b966399b6448d Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sun, 21 Jun 2020 07:54:23 +0530 Subject: [PATCH] Fixing txhash url change --- index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.html b/index.html index 5dd9084..cb8bed4 100644 --- a/index.html +++ b/index.html @@ -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);