diff --git a/popup/popup-exclusions.js b/popup/popup-exclusions.js index 08d36c71..c3959e23 100644 --- a/popup/popup-exclusions.js +++ b/popup/popup-exclusions.js @@ -167,6 +167,9 @@ const popupExclusions = (() => { } function handlePopupSave(style) { + if (typeof style.exclusions === 'undefined') { + style.exclusions = {}; + } const current = Object.keys(style.exclusions); const select = $('#popup-exclusions', messageBox.element); const all = getMultiOptions({select});