When submitting an edited comment in the solutions pages, nothing happens: i.e. the comment remains open in “editable” mode, the submit/cancel buttons remain active.
The console logs this (vendors.5b9efc3f.js:6):
TypeError: k.comment.edit is not a function
at o.k.submitEdit (https://www.codingame.com/codingame.ecadd589.js:6:20680)
at f.fn (https://www.codingame.com/codingame.ecadd589.js:6:20016)
at f.doAction (https://www.codingame.com/codingame.ecadd589.js:11:24710)
at fn (eval at compile (https://www.codingame.com/vendors.5b9efc3f.js:8:13781), <anonymous>:4:303)
at b (https://www.codingame.com/vendors.5b9efc3f.js:6:18903)
at e (https://www.codingame.com/vendors.5b9efc3f.js:9:2109)
at o.$eval (https://www.codingame.com/vendors.5b9efc3f.js:6:28979)
at o.$apply (https://www.codingame.com/vendors.5b9efc3f.js:6:29212)
at HTMLButtonElement.<anonymous> (https://www.codingame.com/vendors.5b9efc3f.js:9:2161)
at HTMLButtonElement.dispatch (https://www.codingame.com/vendors.5b9efc3f.js:2:14465)
at HTMLButtonElement.q.handle (https://www.codingame.com/vendors.5b9efc3f.js:2:11242) undefined
And that happens only on this specific comment? Is there something particular on it? (we can’t access it easily, we’d need to solve the puzzle in perl too :P)
The console log is very slightly different (vendors.5b9efc3f.js:6):
TypeError: Cannot read property 'modeHourOfCode' of undefined
at Object.r [as requireLogin] (https://static.codingame.com/codingame.d27988c3.js:14:21288)
at Object.submitComment (https://static.codingame.com/codingame.d27988c3.js:12:21205)
at i.submitResponse (https://static.codingame.com/codingame.d27988c3.js:12:19996)
at o.g.submit (https://static.codingame.com/codingame.d27988c3.js:6:24702)
at fn (eval at compile (https://static.codingame.com/vendors.5b9efc3f.js:8:13781), <anonymous>:4:209)
at b (https://static.codingame.com/vendors.5b9efc3f.js:6:18903)
at e (https://static.codingame.com/vendors.5b9efc3f.js:9:2109)
at o.$eval (https://static.codingame.com/vendors.5b9efc3f.js:6:28979)
at o.$apply (https://static.codingame.com/vendors.5b9efc3f.js:6:29212)
at HTMLButtonElement.<anonymous> (https://static.codingame.com/vendors.5b9efc3f.js:9:2161)
at HTMLButtonElement.dispatch (https://static.codingame.com/vendors.5b9efc3f.js:2:14465)
at HTMLButtonElement.q.handle (https://static.codingame.com/vendors.5b9efc3f.js:2:11242) undefined
It reproduces across the browsers I’ve got installed here.