Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/menu/prefix.js b/dev/js/src/menu/prefix.js
index e513e85..3930e45 100644
--- a/dev/js/src/menu/prefix.js
+++ b/dev/js/src/menu/prefix.js
@@ -17,19 +17,19 @@
t._string = '';
// Add prefix span
- t._element = document.createElement('span');
- t._element.classList.add('pref');
+ t._el = document.createElement('span');
+ t._el.classList.add('pref');
// Connect action
if (t["onclick"] !== undefined)
- t._element["onclick"] = t.onclick.bind(t);
+ t._el["onclick"] = t.onclick.bind(t);
return t;
},
_update : function () {
- return this._element.innerHTML
+ return this._el.innerHTML
= this._string;
},
@@ -132,7 +132,7 @@
* Get the associated dom element.
*/
element : function () {
- return this._element;
+ return this._el;
},