Skip to content

Commit 3e4119a

Browse files
author
Alexander Galaydyuk
committed
build
1 parent 21505ee commit 3e4119a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
return this.gridWidth < 0 ? this.windowWidth : Math.min(this.windowWidth, this.gridWidth);
251251
},
252252
height: function() {
253-
return Math.ceil(this.items.length / this.rowCount) * this.cellHeight;
253+
return Math.ceil(this.list.length / this.rowCount) * this.cellHeight;
254254
},
255255
style: function() {
256256
return {
@@ -262,7 +262,7 @@
262262
},
263263
rowShift: function() {
264264
if (this.center) {
265-
var contentWidth = this.items.length * this.cellWidth, rowShift = contentWidth < this.gridResponsiveWidth ? (this.gridResponsiveWidth - contentWidth) / 2 : this.gridResponsiveWidth % this.cellWidth / 2;
265+
var contentWidth = this.list.length * this.cellWidth, rowShift = contentWidth < this.gridResponsiveWidth ? (this.gridResponsiveWidth - contentWidth) / 2 : this.gridResponsiveWidth % this.cellWidth / 2;
266266
return Math.floor(rowShift);
267267
}
268268
return 0;

0 commit comments

Comments
 (0)