diff --git a/lib/client/dom.js b/lib/client/dom.js index f097d8d6..8fe7dc0b 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -297,11 +297,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; /** * Function search element by id - * @param Id - className - * @param pElement - element + * @param Id - id */ - this.getById = function(pId, pElement) { - return (pElement || document).getElementById(pId); + this.getById = function(pId) { + return document.getElementById(pId); }; /**