From 564a3e15532f9b71ebc85f160d02312b08b66638 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:31:07 -0700 Subject: [PATCH] Remove the awkward "Tab" keyboard shortcut --- js/main.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/js/main.js b/js/main.js index 72568e1b..75c1e5eb 100644 --- a/js/main.js +++ b/js/main.js @@ -98,20 +98,6 @@ document.addEventListener("keydown", function(event) { document.getElementById("Impersonate").click(); } - // Switch between tabs on Tab - else if (!event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey && event.key === "Tab") { - event.preventDefault(); - var parametersButton = document.getElementById("parameters-button"); - var parentContainer = parametersButton.parentNode; - var selectedChild = parentContainer.querySelector(".selected"); - - if (selectedChild.id == "parameters-button") { - document.getElementById(previousTabId).click(); - } else { - previousTabId = selectedChild.id; - parametersButton.click(); - } - } }); //------------------------------------------------