]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/components/notification.js
reduced icon size
[bookstack] / resources / assets / js / components / notification.js
index 1a981970267e3376806f04ffc301ff6756d283a8..daef5bd6f4e178e8b66df8c6eefecdfc859bcf08 100644 (file)
@@ -6,7 +6,7 @@ class Notification {
         this.type = elem.getAttribute('notification');
         this.textElem = elem.querySelector('span');
         this.autohide = this.elem.hasAttribute('data-autohide');
-        window.Events.listen(this.type, text => {
+        window.$events.listen(this.type, text => {
             this.show(text);
         });
         elem.addEventListener('click', this.hide.bind(this));