Skip to content

Commit

Permalink
Fix #1199
Browse files Browse the repository at this point in the history
  • Loading branch information
isometriks committed Nov 7, 2016
1 parent ff68c17 commit 5ee09c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/public/js/mopabootstrap-collection.js
Expand Up @@ -36,7 +36,7 @@
this.options.index = {};
}
if (!this.options.initial_size) {
this.options.initial_size = $collection.children().length();
this.options.initial_size = $collection.children().length;
}

this.options.index[this.options.collection_id] = this.options.initial_size - 1;
Expand Down Expand Up @@ -121,7 +121,7 @@
var $collection = $(this.options.collection_id);
var items = $collection.children();

for (var i = 0; i < items.length(); i ++) {
for (var i = 0; i < items.length; i ++) {
if (row == items[i]) {
return i;
}
Expand Down

1 comment on commit 5ee09c8

@phiamo
Copy link
Owner

@phiamo phiamo commented on 5ee09c8 Nov 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Please sign in to comment.