From 05feb2a06a00ec7dd0a55d8492dbf07f92d4b74d Mon Sep 17 00:00:00 2001 From: Kamyar Ghandi Date: Tue, 28 Jan 2025 09:39:51 -0500 Subject: [PATCH] Tabs: Fix coding style in 'mouse.js'. --- ui/widgets/mouse.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/widgets/mouse.js b/ui/widgets/mouse.js index 5d8f463c0f..ce7ce8c749 100644 --- a/ui/widgets/mouse.js +++ b/ui/widgets/mouse.js @@ -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; }