Browse Source

do not open on meta key, closes #165

Igor Vaynberg 13 năm trước cách đây
mục cha
commit
89ee75dd9d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      select2.js

+ 3 - 0
select2.js

@@ -79,6 +79,9 @@
             case KEY.ALT:
                 return true;
             }
+
+            if (k.metaKey) return true;
+            
             return false;
         },
         isFunctionKey: function (k) {