From 77e539b22532934e11629f79f5e069da19b20c1a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 27 Dec 2013 11:41:07 +0000 Subject: [PATCH] fix(dom) getById: rm pElement --- lib/client/dom.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); }; /**