summaryrefslogtreecommitdiff
path: root/www/external/packery.pkgd.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/external/packery.pkgd.js')
-rw-r--r--www/external/packery.pkgd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/external/packery.pkgd.js b/www/external/packery.pkgd.js
index cd5b2a2c..c63d46ab 100644
--- a/www/external/packery.pkgd.js
+++ b/www/external/packery.pkgd.js
@@ -2750,6 +2750,7 @@ Packery.prototype.getShiftPositions = function( attrName ) {
return this.items.map( function( item ) {
return {
attr: item.element.getAttribute( attrName ),
+ size: item.element.getAttribute ("data-item-size"),
x: item.rect.x / _this.packer.width
}
});