main.js : tiny patch until things are working correctly.

pull/1/head
ansuz 9 years ago
parent 9ce59c985f
commit e87a4599a4

@ -73,7 +73,9 @@ define([
// pass in the cursorState so we don't try to recover nodes // pass in the cursorState so we don't try to recover nodes
// which weren't lost to begin with // which weren't lost to begin with
cursor.recover(cursorState); // TODO recover doesn't handle its arguments correctly
// so for now just pass in 3 :(
cursor.recover(3||cursorState);
cursorState = cursor.isLost(); cursorState = cursor.isLost();
if (cursorState) { if (cursorState) {

Loading…
Cancel
Save