소스 검색

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;
         });