From d6ff5af84359c40d517e2631d266ecab47479da1 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Fri, 2 Mar 2018 18:09:21 -0500 Subject: [PATCH] :art: `shouldUpdate` --> `needUpdate` --- js/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/notifications.js b/js/notifications.js index 5b03cc677..669ea3282 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -131,9 +131,9 @@ this.reset([]); }, enable: function() { - var shouldUpdate = !isEnabled; + const needUpdate = !isEnabled; isEnabled = true; - if (shouldUpdate) { + if (needUpdate) { this.update(); } },