Fix random character insertion

pull/1/head
yflory 6 years ago
parent aa6c6c7f3a
commit e4daa5adbe

@ -180,7 +180,7 @@ define([
if (JSONSortify(newContent) === JSONSortify(oldContent)) { return; } if (JSONSortify(newContent) === JSONSortify(oldContent)) { return; }
try { try {
evContentUpdate.fire(newContent, waitFor); evContentUpdate.fire(newContent, waitFor);
setTimeout(function () { oldContent = newContent; }); oldContent = newContent;
} catch (e) { } catch (e) {
console.log(e.stack); console.log(e.stack);
UI.errorLoadingScreen(e.message); UI.errorLoadingScreen(e.message);

Loading…
Cancel
Save