Skip to content

Commit

Permalink
Fixed static build test
Browse files Browse the repository at this point in the history
  • Loading branch information
konarshankar07 committed Nov 14, 2019
1 parent c9f9757 commit 240fc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Ui/view/base/web/js/modal/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ define([
* Escape key press handler,
* close modal window
*/
escapeKey: function (event) {
escapeKey: function () {
if (this.modal.find(document.activeElement).length ||
this.modal[0] === document.activeElement) {
this.closeModal();
Expand Down

0 comments on commit 240fc19

Please sign in to comment.