Revert "Do not nest mw-content-text element when reloading a diff"

This reverts commit a6c5c5a81c.

Change-Id: Iba8e287e200ece043fe6e0ebed960b5d9e522236
This commit is contained in:
Addshore 2016-09-07 07:15:28 +00:00
parent a6c5c5a81c
commit b6906e70f1

View file

@ -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 ) {