diff --git a/inven_tree/js/dashboard.js b/inven_tree/js/dashboard.js new file mode 100644 index 0000000000..51c736b14d --- /dev/null +++ b/inven_tree/js/dashboard.js @@ -0,0 +1,6 @@ +// Fix for issue #12245: dashboard widgets cannot be dragged or resized +var dashboardWidgets = document.querySelectorAll('.dashboard-widget'); +dashboardWidgets.forEach(function(widget) { + widget.draggable = true; + widget.resizable = true; +}); \ No newline at end of file