We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff68c17 commit 5ee09c8Copy full SHA for 5ee09c8
Resources/public/js/mopabootstrap-collection.js
@@ -36,7 +36,7 @@
36
this.options.index = {};
37
}
38
if (!this.options.initial_size) {
39
- this.options.initial_size = $collection.children().length();
+ this.options.initial_size = $collection.children().length;
40
41
42
this.options.index[this.options.collection_id] = this.options.initial_size - 1;
@@ -121,7 +121,7 @@
121
var $collection = $(this.options.collection_id);
122
var items = $collection.children();
123
124
- for (var i = 0; i < items.length(); i ++) {
+ for (var i = 0; i < items.length; i ++) {
125
if (row == items[i]) {
126
return i;
127
0 commit comments