summaryrefslogtreecommitdiff
path: root/qml/actions.js
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-08-26 20:23:53 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-08-26 20:23:53 +0200
commit53a259965bef27e9fdd4a43c6a7ebcef10087aad (patch)
tree6107941e3c050bd7a22c6fa255dfb40457e7b515 /qml/actions.js
parentcecbf060661a3cf47e876f8dec0207e0f082c3d4 (diff)
Code reformating + corrections
Diffstat (limited to 'qml/actions.js')
-rw-r--r--qml/actions.js4
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;
}
/**