diff --git a/plugins/Dashboard/templates/dashboardObject.js b/plugins/Dashboard/templates/dashboardObject.js index d6dfad707f5dfbb7c4d6e63d8c89a13e71ebe17c..75dec3971a5da27afc6b71bc88cc83c8a19ee858 100644 --- a/plugins/Dashboard/templates/dashboardObject.js +++ b/plugins/Dashboard/templates/dashboardObject.js @@ -349,9 +349,9 @@ var widgetContent = '<div class="sortable" widgetId="'+uniqueId+'"></div>'; if (addWidgetOnTop) { - $('.col::nth-child('+columnNumber+')', dashboardElement).prepend(widgetContent); + $('.col:nth-child('+columnNumber+')', dashboardElement).prepend(widgetContent); } else { - $('.col::nth-child('+columnNumber+')', dashboardElement).append(widgetContent); + $('.col:nth-child('+columnNumber+')', dashboardElement).append(widgetContent); } $('[widgetId='+uniqueId+']', dashboardElement).dashboardWidget({