aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/static/js/nav_handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/static/js/nav_handler.js')
-rw-r--r--ui/static/js/nav_handler.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/static/js/nav_handler.js b/ui/static/js/nav_handler.js
index dd10607..689f206 100644
--- a/ui/static/js/nav_handler.js
+++ b/ui/static/js/nav_handler.js
@@ -1,8 +1,5 @@
class NavHandler {
- setFocusToSearchInput(event) {
- event.preventDefault();
- event.stopPropagation();
-
+ setFocusToSearchInput() {
let toggleSwitchElement = document.querySelector(".search-toggle-switch");
if (toggleSwitchElement) {
toggleSwitchElement.style.display = "none";