From fa9717cf2cbabf7209650cfefb7e0e560640abad Mon Sep 17 00:00:00 2001 From: William Bout Date: Sat, 18 Feb 2017 16:15:04 -0800 Subject: [PATCH] :sparkles: --- app/js/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/preload.js b/app/js/preload.js index 3d15f63..dc931f5 100644 --- a/app/js/preload.js +++ b/app/js/preload.js @@ -17,7 +17,7 @@ document.addEventListener('DOMContentLoaded', function(event) { setBadge(notificationIndicator.textContent); }, 200); - notificationIndicator.addEventListener('DOMCharacterDataModified', function(event) { + notificationIndicator.addEventListener('DOMCharacterDataModified', (event) => { setBadge(event.newValue); });