Refactor of History module #184

Merged
bema merged 25 commits from widlam/refactor/issue#162 into master 2023-05-19 13:10:48 +02:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit 80cab379c8 - Show all commits

View File

@@ -1,3 +1,3 @@
lxml
flask
flask_cors
lxml==4.9.2
flask==2.3.2
flask_cors==3.0.10

View File

@@ -107,7 +107,11 @@ function changeTool(tool) {
* @returns {void}
*/
function loadLastPage() {
const lastPage = localStorage.getItem("lastPage");
var lastPage = localStorage.getItem("lastPage");
if (lastPage == null) {
lastPage = "xpath";
}
switch (lastPage) { // XML category is default.
case "jsonform":
changeActiveTools('JSON');