Solved #180 and one other bug #210

Merged
bema merged 3 commits from bema/fix/broken_layout_mock into master 2023-05-26 11:39:59 +02:00
Showing only changes of commit 1da42aaeea - Show all commits

View File

@@ -85,10 +85,13 @@ function changeActiveTools(activeCategoryButton) {
* @returns {void}
*/
function changeTool(tool) {
console.log("changeTool");
if (tools.has(tool)) {
const url = tools.get(tool);
document.location.search = tool;
localStorage.setItem("lastPage", tool);
document.getElementById("iframe").src = url;
document.location.search = tool;
}
}
/**