mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Fix undefined var reference to this.shift_widgets_up - should ref option
This commit is contained in:
Vendored
+1
-1
@@ -2916,7 +2916,7 @@
|
||||
/* if there is not widgets overlapping in the new player position,
|
||||
* update the new placeholder position. */
|
||||
if (!$overlapped_widgets.length) {
|
||||
if (this.shift_widgets_up) {
|
||||
if (this.options.shift_widgets_up) {
|
||||
var pp = this.can_go_player_up(this.player_grid_data);
|
||||
if (pp !== false) {
|
||||
to_row = pp;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -2916,7 +2916,7 @@
|
||||
/* if there is not widgets overlapping in the new player position,
|
||||
* update the new placeholder position. */
|
||||
if (!$overlapped_widgets.length) {
|
||||
if (this.shift_widgets_up) {
|
||||
if (this.options.shift_widgets_up) {
|
||||
var pp = this.can_go_player_up(this.player_grid_data);
|
||||
if (pp !== false) {
|
||||
to_row = pp;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -2022,7 +2022,7 @@
|
||||
/* if there is not widgets overlapping in the new player position,
|
||||
* update the new placeholder position. */
|
||||
if (!$overlapped_widgets.length) {
|
||||
if (this.shift_widgets_up) {
|
||||
if (this.options.shift_widgets_up) {
|
||||
var pp = this.can_go_player_up(this.player_grid_data);
|
||||
if (pp !== false) {
|
||||
to_row = pp;
|
||||
|
||||
Reference in New Issue
Block a user