1
0
mirror of synced 2024-11-26 06:46:04 +03:00

fix bug where space was ignored in single selects. fixes #233

This commit is contained in:
Igor Vaynberg 2012-07-19 11:13:02 +03:00
parent 1fc09825ed
commit 1771c3ba61

View File

@ -1215,7 +1215,7 @@
this.search.bind("keydown", this.bind(function (e) { this.search.bind("keydown", this.bind(function (e) {
if (!this.enabled) return; if (!this.enabled) return;
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN || e.which === KEY.SPACE) { if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
// prevent the page from scrolling // prevent the page from scrolling
killEvent(e); killEvent(e);
return; return;