Use strict equality checking

This commit is contained in:
YuviPanda 2014-09-13 18:36:59 +01:00
parent fe6e592c20
commit 4a3bea1928
1 changed files with 2 additions and 2 deletions

View File

@ -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("");
}
}