mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 18:58:42 +00:00
Use Surface#setDisabled instead of deprecated #disable
Change-Id: Idf998ddc0b95efbf6befbcfa493c42b4c3ba1bfc
This commit is contained in:
parent
d555b5ba33
commit
2d645d1631
|
@ -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