Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/match/table.js b/dev/js/src/match/table.js
index 9481728..d41fc7b 100644
--- a/dev/js/src/match/table.js
+++ b/dev/js/src/match/table.js
@@ -199,15 +199,15 @@
* Get HTML table view of annotations.
*/
element : function () {
- if (this._element !== undefined)
- return this._element;
+ if (this._el !== undefined)
+ return this._el;
// First the legend table
const wrap = d.createElement('div');
const table = wrap.addE('table');
- this._element = wrap;
+ this._el = wrap;
// Single row in head
let tr = table.addE('thead').addE('tr');
@@ -318,9 +318,9 @@
}, this);
// Add query creator
- this._matchCreator = matchQueryCreator.create(this._element);
+ this._matchCreator = matchQueryCreator.create(this._el);
- return this._element;
+ return this._el;
},
};
});