mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Use new stable API for subtitle modification
Bug: T324876 Depends-On: Id8436324e2ae2fd9f488b65b3b7bfc19611870d1 Change-Id: I8e538939a6d7d4474f2e96b93040f3c68c2f98ec
This commit is contained in:
parent
15c53f0576
commit
612a307d68
|
@ -604,8 +604,8 @@ ve.init.mw.ArticleTarget.prototype.replacePageContent = function (
|
|||
$( '#catlinks' ).replaceWith( $categories );
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-jquery/no-html
|
||||
$( '#contentSub, .minerva__subtitle' ).html( contentSub );
|
||||
mw.util.clearSubtitle();
|
||||
mw.util.addSubtitle( contentSub );
|
||||
|
||||
this.setRealRedirectInterface();
|
||||
|
||||
|
|
Loading…
Reference in a new issue