mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Make sure switch to source editing button does not get disabled
Was broken by Ief769ba0 Bug: T97646 Change-Id: I43ea85373a6ca427bf6a1c9e01d70b960d93db91
This commit is contained in:
parent
9d3d24ac81
commit
db036ddd8d
|
@ -39,6 +39,7 @@ ve.ui.MWEditModeTool.prototype.onUpdateState = function () {
|
|||
ve.ui.Tool.prototype.onUpdateState.apply( this, arguments );
|
||||
|
||||
this.setActive( false );
|
||||
this.setDisabled( false );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue