Use strict equality checking
This commit is contained in:
parent
fe6e592c20
commit
4a3bea1928
@ -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("");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user