Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
66b789939f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;