Skip to content

Commit

Permalink
go to maintab on load if multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
vncoelho committed Nov 21, 2023
1 parent ea1493b commit ed19202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/eco-scripts/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ function getFiles(language, selected_index, index = 0) {

getFiles(language, selected_index, index);
}
goToACEMainTab();
});
}
}
Expand Down
1 change: 1 addition & 0 deletions assets/eco-scripts/compile_codes_localStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function restoreSCFromMapToAceEditor(fileNameKey) {
$(nameToClick).click();
aceEditor.getSession().setValue(codeArray[f]);
}
goToACEMainTab();
//aceEditor.getSession().setValue("ERROR WHILE RESTORING LOCAL CONTRACT! This should not happen. Size of files: " + codeArray.length);
}
}

0 comments on commit ed19202

Please sign in to comment.