Pārlūkot izejas kodu

Adding tab support for tags

When you select a tag currently the only way to select it was by using the enter key. This change allows the tab key to also select it.

Signed-off-by: Eric Barnes <[email protected]>
Eric Barnes 13 gadi atpakaļ
vecāks
revīzija
66b789939f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -1122,6 +1122,7 @@
                         killEvent(e);
                         return;
                     case KEY.ENTER:
+                    case KEY.TAB:
                         this.selectHighlighted();
                         killEvent(e);
                         return;