Skip to content

Commit aba62be

Browse files
committed
MAGETWO-46847: [FF] Inline translation is unavailable for button elements
- replaced deprecated .size() method
1 parent 3ec6efd commit aba62be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/edit-trigger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
target = target.parents(this.options.editSelector).first();
108108
}
109109

110-
if (target.size()) {
110+
if (target.length) {
111111
if (!target.is(this.trigger)) {
112112
this._setPosition(target);
113113
this.currentTarget = target;

0 commit comments

Comments
 (0)