X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/63cb6015a8c6db453f5551e50c04bf6ebbc0f3f1..refs/pull/4021/head:/resources/js/components/popup.js diff --git a/resources/js/components/popup.js b/resources/js/components/popup.js index ec111963f..4c20876f8 100644 --- a/resources/js/components/popup.js +++ b/resources/js/components/popup.js @@ -1,13 +1,13 @@ import {fadeIn, fadeOut} from "../services/animations"; import {onSelect} from "../services/dom"; +import {Component} from "./component"; /** * Popup window that will contain other content. * This component provides the show/hide functionality * with the ability for popup@hide child references to close this. - * @extends {Component} */ -class Popup { +export class Popup extends Component { setup() { this.container = this.$el; @@ -56,6 +56,4 @@ class Popup { this.onHide = onHide; } -} - -export default Popup; \ No newline at end of file +} \ No newline at end of file