Skip to content

Commit b625b61

Browse files
committed
MC-3309: Build stabilization for MC-1416
- Added param
1 parent dc800a9 commit b625b61

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/wysiwyg.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/wysiwyg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default class Wysiwyg {
6969
$(`#${elementId}`).closest(".pagebuilder-content-type").addClass("pagebuilder-toolbar-active");
7070

7171
// If there isn't enough room for a left-aligned toolbar, right align it
72-
if ($(window).width() < $element.offset().left + parseInt(minToolbarWidth)) {
72+
if ($(window).width() < $element.offset().left + parseInt(minToolbarWidth, 10)) {
7373
$element.addClass("_right-aligned-toolbar");
7474
}
7575
else {

0 commit comments

Comments
 (0)