diff --git a/src/js/scriptlets/cosmetic-logger.js b/src/js/scriptlets/cosmetic-logger.js index a7c6aef3e..57ee4723a 100644 --- a/src/js/scriptlets/cosmetic-logger.js +++ b/src/js/scriptlets/cosmetic-logger.js @@ -277,8 +277,8 @@ const handlers = { continue; } const details = JSON.parse(selector); - if ( Array.isArray(details.style) ) { - exceptionDict.set(details.style[0], details.raw); + if ( details.action === 'style' ) { + exceptionDict.set(details.selector, details.raw); continue; } proceduralExceptionDict.set(