Query now searches for exactly matching text

This commit is contained in:
Andrew Murray 2023-11-28 19:39:38 +11:00
parent ccb0a08a9b
commit 823c0b0790

View File

@ -23,7 +23,7 @@ function getOS() {
} }
function activateTab(tabName) { function activateTab(tabName) {
// Find all label elements containing the specified tab name // Find all label elements with the specified tab name
const labels = document.querySelectorAll(".tab-label"); const labels = document.querySelectorAll(".tab-label");
labels.forEach((label) => { labels.forEach((label) => {