mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35:50 +01:00
Fix: Should return rowSize instead of 7
This commit is contained in:
committed by
Isaac Bythewood
parent
f2fd4f3095
commit
2010224599
@@ -99,7 +99,7 @@ Vue.component('pin', {
|
|||||||
index = index + 1;
|
index = index + 1;
|
||||||
var rowNumber = Math.floor(index % rowSize);
|
var rowNumber = Math.floor(index % rowSize);
|
||||||
if (rowNumber === 0) {
|
if (rowNumber === 0) {
|
||||||
return 7;
|
return rowSize;
|
||||||
}
|
}
|
||||||
return rowNumber;
|
return rowNumber;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user