mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Merge "Temporarily trigger revslider.diffreload to re-add Thanks JS code"
This commit is contained in:
commit
90455594e6
|
@ -74,6 +74,11 @@
|
|||
self.reInitWikEdDiff();
|
||||
}
|
||||
|
||||
// Following code is deprecated and will be removed soon. Revision Slider should
|
||||
// trigger general (core) hook instead of its own hook. Extensions do not have to
|
||||
// be aware of Revision Slider to interact properly with it.
|
||||
mw.hook( 'revslider.diffreload' ).fire( $contentText );
|
||||
|
||||
}, function ( xhr ) {
|
||||
$( 'table.diff[data-mw="interface"]' ).removeClass( 'mw-revslider-diff-loading' );
|
||||
if ( xhr.statusText !== 'abort' ) {
|
||||
|
|
Loading…
Reference in a new issue