This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
Fix: Should return rowSize instead of 7
pull/169/head
winkidney
5 years ago
committed by
Isaac Bythewood
parent
f2fd4f3095
commit
2010224599
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pinry/static/js/vue/main.js
+ 1
- 1
pinry/static/js/vue/main.js
View File
@@ -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;
}
}
Write
Preview
Loading…
Cancel
Save