From e220113e98375ed9f712831a28dfe67323504c75 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 1 Feb 2016 19:41:55 +0100 Subject: [PATCH] fix the 'crapstorm' bug --- 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 349d866a7..7d4670b9a 100644 --- a/www/vdom/main.js +++ b/www/vdom/main.js @@ -54,7 +54,9 @@ define([ var vdom2 = Convert.hjson.to.vdom(authDoc); var patches = Vdom.diff(vdom1, vdom2); Vdom.patch(inner, patches); - vdom1 = vdom2; + // try resyncing the dom? + vdom1 = Convert.dom.to.vdom(inner); + // vdom1 = vdom2; }; window.rti = realtimeInput.start($textarea[0],