diff --git a/options.js b/options.js index 1b55e0f..136da36 100644 --- a/options.js +++ b/options.js @@ -132,7 +132,7 @@ function renderOptions() { inputEl.type = 'checkbox'; inputEl.dataset.key = key; inputEl.dataset.value = value; - inputEl.checked = key in sites; + inputEl.checked = key.replace(/\s\(.*\)/, '') in sites; labelEl.appendChild(inputEl); labelEl.appendChild(document.createTextNode(' '+key));