Skip to content

Commit

Permalink
Tabs: Fix coding style in 'mouse.js'.
Browse files Browse the repository at this point in the history
  • Loading branch information
kghandi committed Jan 28, 2025
1 parent eda5571 commit 05feb2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/widgets/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ return $.widget( "ui.mouse", {
var that = this,
btnIsLeft = event.which === 1,
elIsCancel = typeof this.options.cancel === "function" ?
this.options.cancel.call(event.target, event) :
( typeof this.options.cancel === "string" ?
$( event.target ).closest( this.options.cancel ).length :
false);
this.options.cancel.call( event.target, event ) :
( typeof this.options.cancel === "string" ?
$( event.target ).closest( this.options.cancel ).length :
false );
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
return true;
}
Expand Down

0 comments on commit 05feb2a

Please sign in to comment.