Fix random character insertion

pull/1/head
yflory 2018-10-25 17:26:46 +02:00
parent aa6c6c7f3a
commit e4daa5adbe
1 changed files with 1 additions and 1 deletions

View File

@ -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);