Fixed getVersion() function

Deleted dupa console.log()
This commit is contained in:
2023-03-23 10:09:25 +01:00
parent 2572ffccd8
commit 8c39e891a6

View File

@@ -32,20 +32,17 @@ function getProcessor() {
return document.getElementById("processors").value;
}
/**
* It returns version of XSLT.
*
* @function
* @name getVersion
* @kind function
* @returns {"1.0" | "3.0"}
*/
* It returns the value of the element with id "versions".
*
* @function
* @name getVersion
* @kind function
* @returns {any}
*/
function getVersion() {
if (getProcessor() == "xalan") {
return "1.0";
} else {
return "3.0";
}
return document.getElementById("versions").value;
}
/**
@@ -178,7 +175,6 @@ function showList(collList) {
*/
function smoothFoldElement(element, toogleState, toggleParrent) {
if (toogleState) {
console.log("DUPA");
if (toggleParrent) {
element.parentElement.style.maxHeight = "0px";
}