From e9742449cd4e75a06d3b3ec842b3d850e4fdf23e Mon Sep 17 00:00:00 2001 From: d11e9 Date: Mon, 18 Apr 2016 10:57:18 +0100 Subject: [PATCH] fix misnamed var --- assets/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 9b212ac82a..8614f7d2d2 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -173,7 +173,7 @@ var files = getFiles(); for (var x in files) { sessions[files[x]] = newEditorSession(files[x]) - } + } editor.setSession( sessions[SOL_CACHE_FILE] ); editor.resize(true); @@ -182,7 +182,7 @@ var s = new ace.EditSession(window.localStorage[filekey], "ace/mode/javascript") s.setTabSize(4); s.setUseSoftTabs(true); - aces[filekey] = s; + sessions[filekey] = s; return s; }