Merge branch 'master' of gitea.release11.com:R11/release11-tools into widlam/refactor/issue#162

This commit is contained in:
2023-05-15 11:19:52 +02:00
2 changed files with 8 additions and 4 deletions

View File

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

View File

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