Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-jitbit authored Jan 29, 2019
1 parent a6d2411 commit 6ebd11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jqModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
// close modal if the esc key is pressed and closeOnEsc is set to true
m.unbind("keydown",$.jqm.closeOnEscFunc);
if(o.closeOnEsc) {
m.attr("tabindex", 0).bind("keydown",$.jqm.closeOnEscFunc).focus();
m.attr("tabindex", 0).bind("keydown",$.jqm.closeOnEscFunc);
}
}

Expand Down

0 comments on commit 6ebd11d

Please sign in to comment.