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,