mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
MobileArticleTarget: Update contentSub
Change-Id: I10db861531bd706e6b93aed3cbc501e5d717572f
This commit is contained in:
parent
6adeae03ed
commit
e4171b944b
|
@ -402,7 +402,7 @@ ve.init.mw.MobileArticleTarget.prototype.showSaveDialog = function () {
|
|||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.MobileArticleTarget.prototype.replacePageContent = function (
|
||||
html, categoriesHtml, displayTitle, lastModified /* , contentSub */
|
||||
html, categoriesHtml, displayTitle, lastModified, contentSub
|
||||
) {
|
||||
var $content = $( $.parseHTML( html ) );
|
||||
|
||||
|
@ -430,7 +430,9 @@ ve.init.mw.MobileArticleTarget.prototype.replacePageContent = function (
|
|||
$( '#catlinks' ).replaceWith( $categories );
|
||||
}
|
||||
|
||||
// TODO: Consider contentSub
|
||||
// eslint-disable-next-line no-jquery/no-global-selector, no-jquery/no-html
|
||||
$( '.minerva__subtitle' ).html( contentSub );
|
||||
|
||||
this.setRealRedirectInterface();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue