Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/vc/chooseitem.js b/dev/js/src/vc/chooseitem.js
index 039764c..5032895 100644
--- a/dev/js/src/vc/chooseitem.js
+++ b/dev/js/src/vc/chooseitem.js
@@ -82,8 +82,8 @@
const t = this;
// already defined
- if (t._element !== undefined)
- return t._element;
+ if (t._el !== undefined)
+ return t._el;
// Create list item
const li = document.createElement("li");
@@ -94,7 +94,7 @@
li["onclick"] = t.onclick.bind(t);
li.addT(t._name);
- return t._element = li;
+ return t._el = li;
}
}
});