diff --git a/Frontend/assets/scripts/tools/scripts.js b/Frontend/assets/scripts/tools/scripts.js index ea50724..7196a0a 100644 --- a/Frontend/assets/scripts/tools/scripts.js +++ b/Frontend/assets/scripts/tools/scripts.js @@ -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"; }