mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "Fix: focus method should be called on jQuery object not on ve.ui.TextInputWidget object itself."
This commit is contained in:
commit
9c9675f778
|
@ -58,7 +58,7 @@ ve.ui.InputLabelWidget.static.tagName = 'label';
|
|||
*/
|
||||
ve.ui.InputLabelWidget.prototype.onClick = function () {
|
||||
if ( !this.disabled && this.input ) {
|
||||
this.input.focus();
|
||||
this.input.$.focus();
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue