]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/notification.js
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / resources / js / components / notification.js
index 8a0876241fe15232b82264e93556357691816614..8a1ef922a97a5870d2cf0683204a2e46e3769631 100644 (file)
@@ -1,13 +1,13 @@
-import {Component} from "./component";
+import {Component} from './component';
 
-export class Notification  extends Component {
+export class Notification extends Component {
 
     setup() {
         this.container = this.$el;
         this.type = this.$opts.type;
         this.textElem = this.container.querySelector('span');
         this.autoHide = this.$opts.autoHide === 'true';
-        this.initialShow = this.$opts.show === 'true'
+        this.initialShow = this.$opts.show === 'true';
         this.container.style.display = 'grid';
 
         window.$events.listen(this.type, text => {
@@ -47,4 +47,4 @@ export class Notification  extends Component {
         this.container.removeEventListener('transitionend', this.hideCleanup);
     }
 
-}
\ No newline at end of file
+}