X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ffc9c28ad500df284c9c5628e3273a6f246791ce..refs/pull/5280/head:/resources/js/components/component.js diff --git a/resources/js/components/component.js b/resources/js/components/component.js index 292bbb624..654f41a96 100644 --- a/resources/js/components/component.js +++ b/resources/js/components/component.js @@ -51,8 +51,9 @@ export class Component { const componentName = this.$name; const event = new CustomEvent(`${componentName}-${eventName}`, { bubbles: true, - detail: data + detail: data, }); this.$el.dispatchEvent(event); } -} \ No newline at end of file + +}