소스 검색

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 년 전
부모
커밋
66b789939f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;