|
|
@ -1,12 +1,12 @@ |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Isotope v1.5.10 |
|
|
|
* Isotope v1.5.11 |
|
|
|
* An exquisite jQuery plugin for magical layouts |
|
|
|
* An exquisite jQuery plugin for magical layouts |
|
|
|
* http://isotope.metafizzy.co
|
|
|
|
* http://isotope.metafizzy.co
|
|
|
|
* |
|
|
|
* |
|
|
|
* Commercial use requires one-time license fee |
|
|
|
* Commercial use requires one-time license fee |
|
|
|
* http://metafizzy.co/#licenses
|
|
|
|
* http://metafizzy.co/#licenses
|
|
|
|
* |
|
|
|
* |
|
|
|
* Copyright 2011 David DeSandro / Metafizzy |
|
|
|
* Copyright 2012 David DeSandro / Metafizzy |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/*jshint curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, undef: true */ |
|
|
|
/*jshint curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, undef: true */ |
|
|
@ -797,7 +797,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// removes elements from Isotope widget
|
|
|
|
// removes elements from Isotope widget
|
|
|
|
remove: function( $content ) { |
|
|
|
remove: function( $content, callback ) { |
|
|
|
// remove elements from Isotope instance in callback
|
|
|
|
// remove elements from Isotope instance in callback
|
|
|
|
var instance = this; |
|
|
|
var instance = this; |
|
|
|
var removeContent = function() { |
|
|
|
var removeContent = function() { |
|
|
@ -810,10 +810,13 @@ |
|
|
|
this.styleQueue.push({ $el: $content, style: this.options.hiddenStyle }); |
|
|
|
this.styleQueue.push({ $el: $content, style: this.options.hiddenStyle }); |
|
|
|
this.$filteredAtoms = this.$filteredAtoms.not( $content ); |
|
|
|
this.$filteredAtoms = this.$filteredAtoms.not( $content ); |
|
|
|
this._sort(); |
|
|
|
this._sort(); |
|
|
|
this.reLayout( removeContent ); |
|
|
|
this.reLayout( removeContent, callback ); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// remove it now
|
|
|
|
// remove it now
|
|
|
|
removeContent(); |
|
|
|
removeContent(); |
|
|
|
|
|
|
|
if ( callback ) { |
|
|
|
|
|
|
|
callback.call( this.element ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|