diff --git a/index.js b/index.js index a6409bc..baf8dfc 100644 --- a/index.js +++ b/index.js @@ -139,7 +139,7 @@ class Tab { } flash (flag) { - if (flag) { + if (flag !== false) { this.tab.classList.add("flash"); } else { this.tab.classList.remove("flash");