diff options
Diffstat (limited to 'qml/actions.js')
-rw-r--r-- | qml/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/actions.js b/qml/actions.js index 314015f..40b9330 100644 --- a/qml/actions.js +++ b/qml/actions.js @@ -17,8 +17,8 @@ function isLastCol(index, cols) { /** * Check if the case on the grid belongs to the first row */ -function isFirstRow(index, rows) { - return index < rows; +function isFirstRow(index, cols) { + return index < cols; } /** |