From e87a4599a4490e1c6dedf0d894a8db9ebb9ae9a3 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 23 Feb 2016 16:22:09 +0100 Subject: [PATCH] main.js : tiny patch until things are working correctly. --- www/vdom/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/vdom/main.js b/www/vdom/main.js index 30c405345..4ac432141 100644 --- a/www/vdom/main.js +++ b/www/vdom/main.js @@ -73,7 +73,9 @@ define([ // pass in the cursorState so we don't try to recover nodes // 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(); if (cursorState) {