File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Ui/view/base/web/js/modal Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ define([
93
93
* @returns {Object } Chainable.
94
94
*/
95
95
initModalEvents : function ( ) {
96
- this . options . keyEventHandlers . escapeKey = this . options . outerClickHandler = this [ this . onCancel ] . bind ( this ) ;
96
+ this . options . keyEventHandlers . escapeKey = this [ this . onCancel ] . bind ( this ) ;
97
97
98
98
return this ;
99
99
} ,
Original file line number Diff line number Diff line change @@ -424,8 +424,7 @@ define([
424
424
* Creates overlay, append it to wrapper, set previous click event on overlay.
425
425
*/
426
426
_createOverlay : function ( ) {
427
- var events ,
428
- outerClickHandler = this . options . outerClickHandler || this . closeModal ;
427
+ var events ;
429
428
430
429
this . overlay = $ ( '.' + this . options . overlayClass ) ;
431
430
@@ -437,7 +436,6 @@ define([
437
436
}
438
437
events = $ . _data ( this . overlay . get ( 0 ) , 'events' ) ;
439
438
events ? this . prevOverlayHandler = events . click [ 0 ] . handler : false ;
440
- this . options . clickableOverlay ? this . overlay . unbind ( ) . on ( 'click' , outerClickHandler ) : false ;
441
439
} ,
442
440
443
441
/**
You can’t perform that action at this time.
0 commit comments