浏览代码

Use jQuery selector instead of $

Sullivan SENECHAL 10 年之前
父节点
当前提交
3f7b614da1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/public/Admin.js

+ 1 - 1
Resources/public/Admin.js

@@ -338,7 +338,7 @@ var Admin = {
 
         // Count and save element of each collection
         jQuery(subject).find('[data-prototype]').each(function() {
-            var collection = $(this);
+            var collection = jQuery(this);
             counters[collection.attr('id')] = collection.children().length-1;
         });