mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Changed method name to setAutoSelect to avoid collision
Plus, this is more consistent with the rest of the method names Change-Id: I713f1bfc28d22cc259ce5dba69ea053817fd43f8
This commit is contained in:
parent
b2295a2de3
commit
da2d89ee3a
|
@ -321,7 +321,7 @@ ve.dm.SurfaceFragment.prototype.getSiblingNodes = function () {
|
|||
* @param {Boolean} [value=true] Automatically update surface selection
|
||||
* @returns {ve.dm.SurfaceFragment} This fragment
|
||||
*/
|
||||
ve.dm.SurfaceFragment.prototype.autoSelect = function ( value ) {
|
||||
ve.dm.SurfaceFragment.prototype.setAutoSelect = function ( value ) {
|
||||
this.autoSelect = value === undefined || !!value;
|
||||
return this;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue