mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
fix(gridster): Removing previously added style tags before adding new one.
Hopefully fixes #211 and #294.
This commit is contained in:
Vendored
+2
@@ -3592,6 +3592,8 @@
|
||||
(x * opts.widget_base_dimensions[0] +
|
||||
(x - 1) * (opts.widget_margins[0] * 2)) + 'px; }\n');
|
||||
}
|
||||
|
||||
this.remove_style_tags();
|
||||
|
||||
return this.add_style_tag(styles);
|
||||
};
|
||||
|
||||
Vendored
+1
-2
File diff suppressed because one or more lines are too long
Regular → Executable
+2
@@ -2795,6 +2795,8 @@
|
||||
(x - 1) * (opts.widget_margins[0] * 2)) + 'px; }\n');
|
||||
}
|
||||
|
||||
this.remove_style_tags();
|
||||
|
||||
return this.add_style_tag(styles);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user