summaryrefslogtreecommitdiff
path: root/www/external/packery.pkgd.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/external/packery.pkgd.min.js')
-rw-r--r--www/external/packery.pkgd.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/external/packery.pkgd.min.js b/www/external/packery.pkgd.min.js
index f1ba5e03..0a072330 100644
--- a/www/external/packery.pkgd.min.js
+++ b/www/external/packery.pkgd.min.js
@@ -227,7 +227,7 @@ else{var o=this._getElementOffset(t)
e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},u.sortItemsByPosition=function(){var t=this._getOption("horizontal")?r:s
this.items.sort(t)},u.fit=function(t,e,i){var n=this.getItem(t)
n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},u._bindFitEvents=function(t){function e(){n++,2==n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0
-t.once("layout",e),this.once("layoutComplete",e)},u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},u.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth"
+t.once("layout",e),this.once("layoutComplete",e)},u.resize=function(t){(t||this.isResizeBound&&this.needsResizeLayout())&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},u.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth"
return e[i]!=this.size[i]},u.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s]
if(a=a&&a+this.gutter){this._getMeasurements()
var h=this[s]+this.gutter