Skip to content

Commit e3a275b

Browse files
committed
PB-95: Video background for Row
1 parent 0e0e730 commit e3a275b

File tree

2 files changed

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

2 files changed

+3
-3
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/row/preview.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/row/preview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export default class Preview extends PreviewCollection {
4141
// Destroy all instances of the plugin prior
4242
try {
4343
// store/apply correct style after destroying, as jarallax incorrectly overrides it with stale value
44-
const style = this.element.getAttribute("data-jarallax-original-styles") ||
45-
this.element.getAttribute("style");
44+
const style = this.element.getAttribute("style")
45+
|| this.element.getAttribute("data-jarallax-original-styles");
4646
jarallax(this.element, "destroy");
4747
this.element.setAttribute("style", style);
4848
} catch (e) {

0 commit comments

Comments
 (0)