webpack hot reload support

This commit is contained in:
undefined committed 2020-07-17 19:20:42 +08:00
1 parent d8e1a63f99
commit 0ee306d0cf
15 files changed
+89 -63

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export default class Notification {
.appendTo('body');
this.$n.width(); // force reflow
this.$n.removeClass('hide');
this.autoHideTimer = setTimeout(this.hide.bind(this), duration);
if (duration) this.autoHideTimer = setTimeout(this.hide.bind(this), duration);
}
handleClick() {