mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Merge "Use Surface#setDisabled instead of deprecated #disable"
This commit is contained in:
commit
495d87ffc0
|
@ -440,7 +440,7 @@ ve.init.mw.DesktopArticleTarget.prototype.activate = function ( dataPromise ) {
|
|||
{ type: 'paragraph' }, { type: '/paragraph' },
|
||||
{ type: 'internalList' }, { type: '/internalList' }
|
||||
] ) );
|
||||
surface.disable();
|
||||
surface.setDisabled( true );
|
||||
// setSurface creates dummy toolbar
|
||||
this.dummyToolbar = true;
|
||||
this.setSurface( surface );
|
||||
|
|
Loading…
Reference in a new issue