This commit is contained in:
Richard Lai 2015-01-21 00:10:26 -05:00
parent 39340236c7
commit 77e96dcc3a

View file

@ -75,7 +75,7 @@ Template.ionModal.rendered = function () {
}.bind(this), 600);
}
$(window).on('keyup.ionModal:last-child', function(event) {
$(window).on('keyup.ionModal', function(event) {
event.stopImmediatePropagation();
if (event.which == 27) {
IonModal.close();