dont bubble up ESC keypress. fixes #118
This commit is contained in:
parent
1d0e9a4a5b
commit
800b7bbb3f
@ -1006,7 +1006,7 @@
|
|||||||
return;
|
return;
|
||||||
case KEY.ESC:
|
case KEY.ESC:
|
||||||
this.cancel(e);
|
this.cancel(e);
|
||||||
e.preventDefault();
|
killEvent(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
@ -1276,7 +1276,7 @@
|
|||||||
return;
|
return;
|
||||||
case KEY.ESC:
|
case KEY.ESC:
|
||||||
this.cancel(e);
|
this.cancel(e);
|
||||||
e.preventDefault();
|
killEvent(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user