diff --git a/js/isotope.js b/js/isotope.js index a1ebc5a..8b5b8aa 100644 --- a/js/isotope.js +++ b/js/isotope.js @@ -63,14 +63,14 @@ function isotopeDefinition( Outlayer, getSize, matchesSelector, Item, LayoutMode // create layout modes this.modes = {}; - // create from registered layout modes - for ( var name in LayoutMode.modes ) { - this._initLayoutMode( name ); - } // start filteredItems with all items this.filteredItems = this.items; // keep of track of sortBys this.sortHistory = [ 'original-order' ]; + // create from registered layout modes + for ( var name in LayoutMode.modes ) { + this._initLayoutMode( name ); + } }; Isotope.prototype.reloadItems = function() {