mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
chore(dom) getByClass: element -> elementParam
This commit is contained in:
parent
1d7409dd14
commit
ad7aa8d606
1 changed files with 2 additions and 2 deletions
|
|
@ -238,8 +238,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
* @param pClass - className
|
||||
* @param element - element
|
||||
*/
|
||||
this.getByClass = function(pClass, element) {
|
||||
var element = element || document,
|
||||
this.getByClass = function(pClass, elementParam) {
|
||||
var element = elementParam || document,
|
||||
ret = this.getByClassAll(pClass, element)[0];
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue