deleted unused functions

This commit is contained in:
2023-03-21 10:28:23 +01:00
parent b80efd69ac
commit 86d7b70add
3 changed files with 20 additions and 103 deletions

View File

@@ -150,4 +150,4 @@ function init() {
}
processTooltip();
})
}
}

View File

@@ -0,0 +1,18 @@
function init() {
//Handle clicks in whole form and set info in tooltip
setDefaultContent(document.getElementById("xmlArea"), 'Insert XML here');
setDefaultContent(document.getElementById("transformArea"), 'Insert XSD here');
console.log("init");
// refreshTooltip();
processTooltip();
tool.addEventListener('click', event => {
//Check if script was called from textarea or selector
var targetID = event.target.getAttribute('id');
if (targetID !== "processors" && targetID !== "xmlArea" && targetID !== "transformArea" && targetID !== "versions") {
return;
}
processTooltip();
// console.log("clock");
})
}