From 1eb3968694085625c4a206be0685949f16e8326d Mon Sep 17 00:00:00 2001 From: Pete Date: Wed, 29 Nov 2023 18:13:18 +0100 Subject: [PATCH] Update with code&qa suggestions --- static/js/src/navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/src/navigation.js b/static/js/src/navigation.js index 6ca3cc850f3..ae12d71b7a9 100644 --- a/static/js/src/navigation.js +++ b/static/js/src/navigation.js @@ -116,7 +116,7 @@ function handleDropdownClick(clickedDropdown) { } function updateUrlHash(id, open) { - if (id !== null && id !== undefined && open) { + if (id && open) { window.history.pushState( null, document.title,