mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
MobileArticleTarget: Fix silly indirection via a global variable
Change-Id: I71349313b493c18cebe30df0b1b03defe81bb80e
This commit is contained in:
parent
c1b9ce84c8
commit
f48b5bcc9a
|
@ -504,7 +504,7 @@ ve.init.mw.MobileArticleTarget.prototype.setupToolbar = function ( surface ) {
|
|||
if ( !this.$title ) {
|
||||
this.$title = $( '<div>' ).addClass( 've-init-mw-mobileArticleTarget-title-container' ).append(
|
||||
$( '<div>' ).addClass( 've-init-mw-mobileArticleTarget-title' ).text(
|
||||
new mw.Title( ve.init.target.getPageName() ).getMainText()
|
||||
new mw.Title( this.getPageName() ).getMainText()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue