From 39b5ce8210c874eb4d9eebc0dd9dbd637cfcdbff Mon Sep 17 00:00:00 2001 From: or-else Date: Sun, 22 Apr 2018 16:26:26 -0700 Subject: [PATCH] bug fix: remve &tab= on cancel --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index fcbd2843..bca06877 100644 --- a/index.html +++ b/index.html @@ -4114,6 +4114,9 @@ handleSidepanelCancel: function() { var parsed = parseUrlHash(window.location.hash); parsed.path[0] = ''; + if (parsed.params) { + delete parsed.params.tab; + } window.location.hash = composeUrlHash(parsed.path, parsed.params); this.setState({sidePanelSelected: '', errorText: '', errorLevel: null}); },