Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/view.js b/dev/js/src/view.js
index 77f8d60..a8a79cb 100644
--- a/dev/js/src/view.js
+++ b/dev/js/src/view.js
@@ -43,9 +43,9 @@
* Element of the view
*/
element : function () {
- if (this._element) {
- this._element.classList.add('show');
- return this._element;
+ if (this._el) {
+ this._el.classList.add('show');
+ return this._el;
};
// Create panel element
@@ -70,7 +70,7 @@
e.appendChild(this.actions.element());
- return this._element = e;
+ return this._el = e;
},
@@ -86,8 +86,8 @@
* Hide the widget if shown.
*/
minimize : function () {
- if (this._element) {
- this._element.classList.remove("show");
+ if (this._el) {
+ this._el.classList.remove("show");
}
},