From bc404e821fe5cddca8d4cf2da647afc763161060 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Mon, 3 Dec 2018 18:53:33 -0600 Subject: [PATCH] Fix enabled update when toggled from popup --- manage/manage-actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage/manage-actions.js b/manage/manage-actions.js index d0294641..6a36f551 100644 --- a/manage/manage-actions.js +++ b/manage/manage-actions.js @@ -318,7 +318,7 @@ function handleUpdate(style, {reason, method} = {}) { if (diff.length === 1 && diff[0].key === 'enabled') { oldEntry.classList.toggle('enabled', style.enabled); oldEntry.classList.toggle('disabled', !style.enabled); - $$('.checker', oldEntry).forEach(el => (el.checked = style.enabled)); + $$('.entry-state-toggle', oldEntry).forEach(el => (el.checked = style.enabled)); oldEntry.styleMeta = newStyleMeta; entry = oldEntry; oldEntry = null;