Commit d9ada384 authored by webchick's avatar webchick
Browse files

#784848 by kbgordon7 : Fixed Coding style for comments in autocomplete.js.

parent a2ab3fd8
...@@ -72,23 +72,23 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) { ...@@ -72,23 +72,23 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) {
e = window.event; e = window.event;
} }
switch (e.keyCode) { switch (e.keyCode) {
case 16: // shift. case 16: // Shift.
case 17: // ctrl. case 17: // Ctrl.
case 18: // alt. case 18: // Alt.
case 20: // caps lock. case 20: // Caps lock.
case 33: // page up. case 33: // Page up.
case 34: // page down. case 34: // Page down.
case 35: // end. case 35: // End.
case 36: // home. case 36: // Home.
case 37: // left arrow. case 37: // Left arrow.
case 38: // up arrow. case 38: // Up arrow.
case 39: // right arrow. case 39: // Right arrow.
case 40: // down arrow. case 40: // Down arrow.
return true; return true;
case 9: // tab. case 9: // Tab.
case 13: // enter. case 13: // Enter.
case 27: // esc. case 27: // Esc.
this.hidePopup(e.keyCode); this.hidePopup(e.keyCode);
return true; return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment