Last active
August 29, 2015 14:04
-
-
Save cawa87/a512c3d319cfb17470cb to your computer and use it in GitHub Desktop.
mopa-bootstrap collection.js fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Indexes must be different for every Collection | |
if(typeof this.options.index === 'undefined') { | |
this.options.index = {}; | |
} | |
// var elements = $('.collection-items'); | |
//console.log(elements.children().length); | |
this.options.index[this.options.collection_id] = $('.collection-items').children().length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment