summaryrefslogtreecommitdiff
path: root/www/external/origjs/packery.pkgd.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/external/origjs/packery.pkgd.js')
-rw-r--r--www/external/origjs/packery.pkgd.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/external/origjs/packery.pkgd.js b/www/external/origjs/packery.pkgd.js
index 7576576b..fa4e8308 100644
--- a/www/external/origjs/packery.pkgd.js
+++ b/www/external/origjs/packery.pkgd.js
@@ -3088,10 +3088,10 @@ proto._bindFitEvents = function( item ) {
// -------------------------- resize -------------------------- //
// debounced, layout on resize
-proto.resize = function() {
+proto.resize = function(force) {
// don't trigger if size did not change
// or if resize was unbound. See #285, outlayer#9
- if ( !this.isResizeBound || !this.needsResizeLayout() ) {
+ if ( !force && (!this.isResizeBound || !this.needsResizeLayout()) ) {
return;
}