##// END OF EJS Templates
protect shift extend on Uppercase
Matthias BUSSONNIER -
Show More
@@ -357,6 +357,10 b' var IPython = (function (IPython) {'
357 357 typed_characters = "";
358 358 select.keydown(function (event) {
359 359 var code = event.which;
360 if (code === 16) {
361 // nothing on Shift
362 return;
363 }
360 364 if (code === 13 || code === 32) {
361 365 // Pressing SPACE or ENTER will cause a pick
362 366 event.stopPropagation();
@@ -366,7 +370,7 b' var IPython = (function (IPython) {'
366 370 // We don't want the document keydown handler to handle UP/DOWN,
367 371 // but we want the default action.
368 372 event.stopPropagation();
369 } else if (code>64 && code <90 || code==8){
373 } else if (code>64 && code <=122 || code==8){
370 374 // issues with _-.. on chrome at least
371 375 if(code != 8)
372 376 {
General Comments 0
You need to be logged in to leave comments. Login now