From 2010224599ffe230b76de0f5cb3bae3cdbe8aa0b Mon Sep 17 00:00:00 2001 From: winkidney Date: Fri, 1 Mar 2019 17:29:44 +0800 Subject: [PATCH] Fix: Should return rowSize instead of 7 --- pinry/static/js/vue/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/static/js/vue/main.js b/pinry/static/js/vue/main.js index 5009b47..71ab8b7 100644 --- a/pinry/static/js/vue/main.js +++ b/pinry/static/js/vue/main.js @@ -99,7 +99,7 @@ Vue.component('pin', { index = index + 1; var rowNumber = Math.floor(index % rowSize); if (rowNumber === 0) { - return 7; + return rowSize; } return rowNumber; }