Removed unneeded console.logs #131

Merged
bema merged 10 commits from widlam/refactoring/issue#120 into master 2023-03-24 09:32:24 +01:00
Showing only changes of commit 8c39e891a6 - Show all commits

View File

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