We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eda5571 commit 05feb2aCopy full SHA for 05feb2a
ui/widgets/mouse.js
@@ -91,10 +91,10 @@ return $.widget( "ui.mouse", {
91
var that = this,
92
btnIsLeft = event.which === 1,
93
elIsCancel = typeof this.options.cancel === "function" ?
94
- this.options.cancel.call(event.target, event) :
95
- ( typeof this.options.cancel === "string" ?
96
- $( event.target ).closest( this.options.cancel ).length :
97
- false);
+ this.options.cancel.call( event.target, event ) :
+ ( typeof this.options.cancel === "string" ?
+ $( event.target ).closest( this.options.cancel ).length :
+ false );
98
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
99
return true;
100
}
0 commit comments