Merge "ve.init.mw.DesktopArticleTarget: Remove unused code"

This commit is contained in:
jenkins-bot 2017-03-28 00:50:50 +00:00 committed by Gerrit Code Review
commit 57d57cdbbf

View file

@ -1360,7 +1360,6 @@ ve.init.mw.DesktopArticleTarget.prototype.restorePage = function () {
// Remove any VE-added redirectMsg
if ( $( '.mw-body-content > .ve-redirect-header' ).length ) {
$( '.mw-body-content > .ve-redirect-header' ).remove();
$( '#contentSub #redirectSub, #contentSub #redirectSub + br' ).remove();
}
// Restore any previous redirectMsg/redirectsub