diff options
author | PA4WDH | 2025-07-27 16:04:27 +0200 |
---|---|---|
committer | PA4WDH | 2025-07-27 16:04:27 +0200 |
commit | 489767c41c3528761a024c96c5376ac652457294 (patch) | |
tree | a8f49cd03452e8d038e7aa38294682d4d6abb5b4 | |
parent | Add comment with URL for new versions (diff) | |
download | qemu.py-489767c41c3528761a024c96c5376ac652457294.tar.gz qemu.py-489767c41c3528761a024c96c5376ac652457294.tar.bz2 qemu.py-489767c41c3528761a024c96c5376ac652457294.zip |
Update openTab javscript to use evt.target
-rw-r--r-- | qemu.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,10 +87,10 @@ function openTab(evt) { var i, group, groupElements; // Find the group name from the class of the button that triggered - group = evt.originalTarget.className.replace(" tablinks", "").replace(" active", "") + group = evt.target.className.replace(" tablinks", "").replace(" active", "") // The active tab is the same as the id of the button that triggered - activeTab = evt.originalTarget.id + activeTab = evt.target.id // Get all elements with our group groupElements = document.getElementsByClassName(group); |