solved issue #553

parent 2abc270f
...@@ -202,7 +202,7 @@ dashboardControllers.controller('AddPictoCtrl', function ( ...@@ -202,7 +202,7 @@ dashboardControllers.controller('AddPictoCtrl', function (
// Check if there is space in category // Check if there is space in category
for (positionX = 0; positionX < categoryGrid.length; positionX++) { for (positionX = 0; positionX < categoryGrid.length; positionX++) {
for (positionY = 0; positionY < categoryGrid[positionY].length; positionY++) { for (positionY = 0; positionY < categoryGrid[positionX].length; positionY++) {
if (categoryGrid[positionX][positionY] === emptyStudentPicto) { if (categoryGrid[positionX][positionY] === emptyStudentPicto) {
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment