Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/buttongroup/menu.js b/dev/js/src/buttongroup/menu.js
index da34584..7a4f8df 100644
--- a/dev/js/src/buttongroup/menu.js
+++ b/dev/js/src/buttongroup/menu.js
@@ -2,6 +2,7 @@
* Menu to choose from in a button group.
*/
"use strict";
+
define(['menu'], function (menuClass) {
return {
@@ -84,11 +85,11 @@
_repos : function (e) {
const bounding = e.getBoundingClientRect();
- this._element.style.left = bounding.left + "px";
- this._element.style.top = (
+ this._el.style.left = bounding.left + "px";
+ this._el.style.top = (
bounding.top +
bounding.height -
- this._element.clientHeight
+ this._el.clientHeight
) + "px";
}
};