mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "ve.init.mw.DesktopArticleTarget: Remove unused code"
This commit is contained in:
commit
57d57cdbbf
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue