From 4a3bea1928edb88cd9c1ab9d1e0c533f82663bbf Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sat, 13 Sep 2014 18:36:59 +0100 Subject: [PATCH] Use strict equality checking --- client/js/shout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/js/shout.js b/client/js/shout.js index aed92125..c0104a15 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -330,7 +330,7 @@ $(function() { .data("count", "") .empty(); - if (sidebar.find(".highlight").length == 0) { + if (sidebar.find(".highlight").length === 0) { favico.badge(""); } @@ -542,7 +542,7 @@ $(function() { document.addEventListener( "visibilitychange", function() { - if (sidebar.find(".highlight").length == 0) { + if (sidebar.find(".highlight").length === 0) { favico.badge(""); } }