mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Also refresh the article preview
Change-Id: I8a96515db9a0dbe329000a51840ad2f365b5aba0
This commit is contained in:
parent
ec80c4fa6f
commit
b86ceb02bf
|
@ -17,9 +17,10 @@
|
|||
retryLimit: 2,
|
||||
success: function ( data ) {
|
||||
data = $( '<div/>' ).html( data ).contents();
|
||||
data.find( '#revision-slider-container' ).replaceWith( $( '#revision-slider-container' ) );
|
||||
$( 'body' )
|
||||
.find( 'table.diff[data-mw=\'interface\']' )
|
||||
.html( data.find( 'table.diff[data-mw=\'interface\']' ) );
|
||||
.find( '#mw-content-text' )
|
||||
.html( data.find( '#mw-content-text' ) );
|
||||
},
|
||||
error: function ( err ) {
|
||||
this.tryCount++;
|
||||
|
|
Loading…
Reference in a new issue