Removed broken code

This commit is contained in:
2023-05-26 14:12:11 +02:00
parent d0c19e19df
commit fb128070dc

View File

@@ -86,15 +86,6 @@ function changeActiveTools(activeCategoryButton) {
* @param {boolean} updateURL?
* @returns {void}
*/
function changeTool(tool) {
const url = tools.get(tool);
localStorage.setItem("lastPage", tool);
function changeTool(tool, updateURL = true) {
if (! tools.has(tool)) return;
const url = tools.get(tool);