mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
Add vendor prefix to initializer name
This commit is contained in:
2
extensions/mentions/js/bootstrap.js
vendored
2
extensions/mentions/js/bootstrap.js
vendored
@@ -10,7 +10,7 @@ import composerAutocomplete from 'flarum-mentions/composer-autocomplete';
|
|||||||
import PostMentionedNotification from 'flarum-mentions/components/post-mentioned-notification';
|
import PostMentionedNotification from 'flarum-mentions/components/post-mentioned-notification';
|
||||||
import UserMentionedNotification from 'flarum-mentions/components/user-mentioned-notification';
|
import UserMentionedNotification from 'flarum-mentions/components/user-mentioned-notification';
|
||||||
|
|
||||||
app.initializers.add('mentions', function() {
|
app.initializers.add('flarum-mentions', function() {
|
||||||
// For every mention of a post inside a post's content, set up a hover handler
|
// For every mention of a post inside a post's content, set up a hover handler
|
||||||
// that shows a preview of the mentioned post.
|
// that shows a preview of the mentioned post.
|
||||||
postMentionPreviews();
|
postMentionPreviews();
|
||||||
|
Reference in New Issue
Block a user