File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -499,8 +499,8 @@ export default class Preview implements PreviewInterface {
499
499
* Bind events
500
500
*/
501
501
protected bindEvents ( ) {
502
- let pageBuilderId = Config . getContentSnapshot ( ) . pageBuilderId ,
503
- fullScreenModeChangeAfterEvent = `stage:${ pageBuilderId } :fullScreenModeChangeAfter` ;
502
+ const pageBuilderId = Config . getContentSnapshot ( ) . pageBuilderId ;
503
+ const fullScreenModeChangeAfterEvent = `stage:${ pageBuilderId } :fullScreenModeChangeAfter` ;
504
504
505
505
this . contentType . dataStore . subscribe (
506
506
( data : DataObject ) => {
@@ -518,6 +518,7 @@ export default class Preview implements PreviewInterface {
518
518
} ,
519
519
) ;
520
520
}
521
+
521
522
events . on ( fullScreenModeChangeAfterEvent , this . toggleAccessibility . bind ( this ) ) ;
522
523
}
523
524
You can’t perform that action at this time.
0 commit comments