diff --git a/extensions/pusher/js/src/admin/index.js b/extensions/pusher/js/src/admin/index.js index 3b804a528..e5a430caf 100644 --- a/extensions/pusher/js/src/admin/index.js +++ b/extensions/pusher/js/src/admin/index.js @@ -4,5 +4,5 @@ import app from 'flarum/app'; import PusherSettingsModal from './components/PusherSettingsModal'; app.initializers.add('flarum-pusher', app => { - app.extensionSettings['flarum-pusher'] = () => app.modal.show(new PusherSettingsModal()); + app.extensionSettings['flarum-pusher'] = () => app.modal.show(PusherSettingsModal); });