diff --git a/javascript/WidgetAreaEditor.js b/javascript/WidgetAreaEditor.js index 11fbf1e..34aa037 100644 --- a/javascript/WidgetAreaEditor.js +++ b/javascript/WidgetAreaEditor.js @@ -127,7 +127,7 @@ insertWidgetEditor: function(response) { // Remove placeholder text if($('#NoWidgets-'+$(this).attr('name')).length>0) { - $('#usedWidgets-'+$(this).attr('name')).remove($('#NoWidgets-'+$(this).attr('name'))); + $('#NoWidgets-'+$(this).attr('name')).remove(); } var usedWidgets = $('#usedWidgets-'+$(this).attr('name')).children();