mirror of
https://github.com/flarum/framework.git
synced 2025-04-01 21:55:16 +08:00
Add vendor prefix to initializer name
This commit is contained in:
parent
48ca774af9
commit
9f2393f7bb
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 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
|
||||
// that shows a preview of the mentioned post.
|
||||
postMentionPreviews();
|
||||
|
Loading…
x
Reference in New Issue
Block a user