mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Revert "Do not nest mw-content-text element when reloading a diff"
This reverts commit a6c5c5a81c
.
Change-Id: Iba8e287e200ece043fe6e0ebed960b5d9e522236
This commit is contained in:
parent
a6c5c5a81c
commit
b6906e70f1
|
@ -59,8 +59,8 @@
|
|||
$catLinks.replaceWith( $data.find( '#catlinks' ) );
|
||||
$sidePanel.replaceWith( $data.find( '#mw-panel' ) );
|
||||
$printFooter.replaceWith( $data.find( '.printfooter' ) );
|
||||
$contentText.replaceWith( $data.find( '#mw-content-text' ) );
|
||||
$contentText.find( '.mw-revslider-revisions-container' ).scrollLeft( scrollLeft );
|
||||
$contentText.html( $data.find( '#mw-content-text' ) )
|
||||
.find( '.mw-revslider-revisions-container' ).scrollLeft( scrollLeft );
|
||||
|
||||
mw.hook( 'wikipage.content' ).fire( $contentText );
|
||||
}, function ( xhr ) {
|
||||
|
|
Loading…
Reference in a new issue