Skip to content

Commit

Permalink
Sanitation comment relocated
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Oct 1, 2024
1 parent a171860 commit 9e25fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scoreScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e25fbe

Please sign in to comment.