diff --git a/app/Domain/Widgets/Templates/components/moveableWidget.blade.php b/app/Domain/Widgets/Templates/components/moveableWidget.blade.php index 092525717..b6163d290 100644 --- a/app/Domain/Widgets/Templates/components/moveableWidget.blade.php +++ b/app/Domain/Widgets/Templates/components/moveableWidget.blade.php @@ -52,7 +52,7 @@ class="removeWidget" leantime.widgetController.resizeWidget(gridItem); }) - jQuery('#removeWidget').on('click', function(e) { + jQuery('.removeWidget').on('click', function(e) { // const gridItem = jQuery(this).closest('.grid-stack-item')[0]; leantime.widgetController.toggleWidgetVisibility(); });