mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "ve.ui.MWEditModeTool: Fix showing active editor"
This commit is contained in:
commit
a3eb620570
|
@ -27,6 +27,7 @@ ve.ui.MWEditModeTool.prototype.getMode = function () {
|
|||
if ( !this.toolbar.getSurface() ) {
|
||||
return 'source';
|
||||
}
|
||||
return this.toolbar.getSurface().getMode();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue