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([
9393 * @returns {Object } Chainable.
9494 */
9595 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 ) ;
9797
9898 return this ;
9999 } ,
Original file line number Diff line number Diff line change @@ -415,9 +415,7 @@ define([
415415 * Creates overlay, append it to wrapper, set previous click event on overlay.
416416 */
417417 _createOverlay : function ( ) {
418- var events ,
419- outerClickHandler = this . options . outerClickHandler || this . closeModal ;
420-
418+ var events ;
421419 this . overlay = $ ( '.' + this . options . overlayClass ) ;
422420
423421 if ( ! this . overlay . length ) {
You can’t perform that action at this time.
0 commit comments