.flash() flag defaults to true

This commit is contained in:
Thomas Brouard 2016-10-31 16:45:11 +01:00
parent 9105285e2e
commit b0e0ad1876

View file

@ -139,7 +139,7 @@ class Tab {
}
flash (flag) {
if (flag) {
if (flag !== false) {
this.tab.classList.add("flash");
} else {
this.tab.classList.remove("flash");