The array in line 561 selectionData is empty and consequently throws an error if accessed.
correct.js:562 Uncaught TypeError: Cannot read property '1' of undefined
at restoreSelection (correct.js:562)
at buildLineList (correct.js:557)
at updateDialog (correct.js:542)
at HTMLAreaElement.<anonymous> (1:431)
at HTMLAreaElement.dispatch (jquery-1.12.3.js:5226)
at HTMLAreaElement.elemData.handle (jquery-1.12.3.js:4878)
The array in line 561
selectionData
is empty and consequently throws an error if accessed.