From e4daa5adbe9875445b5bfee713b386e1461b0d98 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 25 Oct 2018 17:26:46 +0200 Subject: [PATCH] Fix random character insertion --- www/common/sframe-app-framework.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-app-framework.js b/www/common/sframe-app-framework.js index 3e79526d8..b26c60583 100644 --- a/www/common/sframe-app-framework.js +++ b/www/common/sframe-app-framework.js @@ -180,7 +180,7 @@ define([ if (JSONSortify(newContent) === JSONSortify(oldContent)) { return; } try { evContentUpdate.fire(newContent, waitFor); - setTimeout(function () { oldContent = newContent; }); + oldContent = newContent; } catch (e) { console.log(e.stack); UI.errorLoadingScreen(e.message);