diff --git a/src/scoreScreen.js b/src/scoreScreen.js index 3c56022..ee6d147 100644 --- a/src/scoreScreen.js +++ b/src/scoreScreen.js @@ -58,11 +58,11 @@ SortItOut.controller('SortItOutScoreCtrl', [ for (let entry of scoreTable) { let [text, userFolderName, correctFolderName] = entry.data + // ensure string values are properly decoded text = sanitizeHelper.desanitize(text) userFolderName = sanitizeHelper.desanitize(userFolderName) correctFolderName = sanitizeHelper.desanitize(correctFolderName) - // ensure string values are properly decoded const correctFolderIndex = folderNames[correctFolderName] const userFolderIndex = folderNames[userFolderName] const correct = userFolderName == correctFolderName