Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/panel.js b/dev/js/src/panel.js
index 246a861..bfc95c5 100644
--- a/dev/js/src/panel.js
+++ b/dev/js/src/panel.js
@@ -47,8 +47,8 @@
* The element of the panel
*/
element : function () {
- if (this._element)
- return this._element;
+ if (this._el)
+ return this._el;
// Create panel element
const e = document.createElement('div');
@@ -66,8 +66,7 @@
if (!aElem.parentNode)
e.appendChild(aElem);
- this._element = e;
- return e;
+ return this._el = e;
},