We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e60c10 commit 5596475Copy full SHA for 5596475
app/code/Magento/PageBuilder/view/frontend/web/js/content-type/buttons/appearance/inline/widget.js
@@ -10,7 +10,7 @@ define([
10
/**
11
* Equalize the width of a list of button-item components
12
*
13
- * @param {JQuerySerializeArrayElement} buttonList
+ * @param {JQuery} buttonList
14
*/
15
var equalizeButtonWidth = function (buttonList) {
16
var buttonMinWidth = 0;
@@ -28,7 +28,7 @@ define([
28
return function (config, element) {
29
var $element = $(element);
30
31
- if ($element.data('sameWidth') === '1') {
+ if ($element.data('sameWidth')) {
32
equalizeButtonWidth($element.find('[data-element="link"]'));
33
}
34
};
0 commit comments