mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
fix(gridster): overlapping widget problem
This commit is contained in:
@@ -1734,10 +1734,14 @@
|
||||
* @return {Class} Returns the instance of the Gridster Class.
|
||||
*/
|
||||
fn.move_widget_down = function($widget, y_units) {
|
||||
var el_grid_data = $widget.coords().grid;
|
||||
var actual_row = el_grid_data.row;
|
||||
var moved = [];
|
||||
var y_diff = y_units;
|
||||
var el_grid_data, actual_row, moved, y_diff;
|
||||
|
||||
if (y_units <= 0) { return false; }
|
||||
|
||||
el_grid_data = $widget.coords().grid;
|
||||
actual_row = el_grid_data.row;
|
||||
moved = [];
|
||||
y_diff = y_units;
|
||||
|
||||
if (!$widget) { return false; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user