.flash() flag defaults to true
This commit is contained in:
parent
9105285e2e
commit
b0e0ad1876
1 changed files with 1 additions and 1 deletions
2
index.js
2
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");
|
||||
|
|
Loading…
Reference in a new issue