mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 19:16:39 +00:00
Merge "Fire the 'wikipage.content' hook on previews"
This commit is contained in:
commit
49e23bf683
|
@ -640,6 +640,8 @@ ReplyWidget.prototype.preparePreview = function ( wikitext ) {
|
||||||
mw.loader.load( response.parse.modulestyles );
|
mw.loader.load( response.parse.modulestyles );
|
||||||
mw.loader.load( response.parse.modules );
|
mw.loader.load( response.parse.modules );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mw.hook( 'wikipage.content' ).fire( widget.$preview );
|
||||||
} );
|
} );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue