From fb8a2b46b770866c99c59a9b2ceb0f925119c722 Mon Sep 17 00:00:00 2001 From: kvnjng Date: Mon, 9 Mar 2020 15:32:51 -0400 Subject: [PATCH] fix ldassoc region dropdown menu reload bug --- LDlink/LDlink.js | 4 +++- LDlink/index.html | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/LDlink/LDlink.js b/LDlink/LDlink.js index a98108f2..b58a1df0 100755 --- a/LDlink/LDlink.js +++ b/LDlink/LDlink.js @@ -4552,7 +4552,9 @@ window.addEventListener('resize', function() { }); window.addEventListener('popstate', function(e) { - this.location.reload(); + if (e.state) { + this.location.reload(); + } }); function clearTabs(currentTab){ diff --git a/LDlink/index.html b/LDlink/index.html index 4110022c..1a225d6f 100755 --- a/LDlink/index.html +++ b/LDlink/index.html @@ -468,9 +468,9 @@

LDassoc Tool