From 910e960e4f7f242ccce99532e17228c48059c94e Mon Sep 17 00:00:00 2001 From: chfhtw Date: Wed, 15 Apr 2026 13:54:30 +0200 Subject: [PATCH] code quality --- public/js/components/Drop/Grid.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/components/Drop/Grid.js b/public/js/components/Drop/Grid.js index 02fff8d71..1c090f814 100644 --- a/public/js/components/Drop/Grid.js +++ b/public/js/components/Drop/Grid.js @@ -45,7 +45,7 @@ export default { draggedOffset: [0, 0], draggedItem: null, reorderedItems: [], - clonedWidget: null, + clonedWidget: null }; }, computed: { @@ -158,7 +158,7 @@ export default { ' ' + 'var(--fhc-dg-item-px, var(--fhc-dg-item-p, .25%))', 'padding-bottom': 100 * (this.rows + addH)/this.cols + '%' - } + }; }, indexedItems() { return this.items.map( @@ -460,7 +460,8 @@ export default { this.draggedOffset[1] += y; y = 0; } - this.tempPositionUpdates= dragGrid.move(this.draggedItem, x, y); + + this.tempPositionUpdates = dragGrid.move(this.draggedItem, x, y); break; } case MODE_RESIZE: {