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