From 16a5650c410616c8aef77896ab9360de29eca535 Mon Sep 17 00:00:00 2001 From: stweedo <108593831+stweedo@users.noreply.github.com> Date: Fri, 6 Sep 2024 00:13:44 -0500 Subject: [PATCH] Remove redundant code --- apps/boxclk/app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/boxclk/app.js b/apps/boxclk/app.js index 139ad31a1f..1bb8bd9dcb 100644 --- a/apps/boxclk/app.js +++ b/apps/boxclk/app.js @@ -44,13 +44,8 @@ if (isDragging) { widgets.hide(); - // Stop propagation of the touch event to prevent other handlers - E.stopEventPropagation(); } else { - widgets.show(); - widgets.swipeOn(); - // Call updateBoxData when transitioning from dragging to not dragging - updateBoxData(); + deselectAllBoxes(); } } else { // If tapped outside any box, deselect all boxes