Newer
Older
alert / js / src / forum / index.js
@Réz István Réz István on 18 Nov 2021 426 bytes first commit
/*
 * This file is part of justoverclock/custom-html-widget.
 *
 * Copyright (c) 2021 Marco Colia.
 * https://flarum.it
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

import app from 'flarum/forum/app';
import registerWidget from '../common/registerWidget';

app.initializers.add('ubuntuhu/alert', () => {
    registerWidget(app);
});