diff --git a/app/javascript/spotlight/admin/spotlight_nestable.js b/app/javascript/spotlight/admin/spotlight_nestable.js index 9f1419b7a..bfcfdea1d 100644 --- a/app/javascript/spotlight/admin/spotlight_nestable.js +++ b/app/javascript/spotlight/admin/spotlight_nestable.js @@ -27,7 +27,7 @@ const Module = (function() { var children = data[i]['children']; for(var child in children){ var id = children[child]['id'] - child_node = findNode(id, container); + var child_node = findNode(id, container); setWeight(child_node, weight++); setParent(child_node, parent_id); } @@ -65,4 +65,4 @@ const Module = (function() { } })(); -export default Module \ No newline at end of file +export default Module