Fix "undefined" showing up in round list in submit page
Review Request #94 - Created Oct. 18, 2009 and submitted - Latest diff uploaded
Information | |
---|---|
Bogdan-Cristian Tătăroiu | |
infoarena | |
Reviewers | |
hackers | |
Ran JSLint on the submit.js script and fixed what was suggested there. We should probably do this on all js files. The problem was caused by the for (var key in rounds) loop which iterated through properties from the "rounds" object's prototype. Was fixed by adding a if (rounds.hasOwnProperty(key)).