fix(dom) getById: rm pElement

This commit is contained in:
coderaiser 2013-12-27 11:41:07 +00:00
parent ecf023854e
commit 77e539b225

View file

@ -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);
};
/**