Fixed getVersion() function
Deleted dupa console.log()
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user