浏览代码

update ie10 detection

Robin Herbots 12 年之前
父节点
当前提交
6e9f42a07a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/jquery.inputmask.js

+ 1 - 1
js/jquery.inputmask.js

@@ -83,7 +83,7 @@
 
         $.fn.inputmask = function (fn, options) {
             var opts = $.extend(true, {}, $.inputmask.defaults, options),
-                msie10 = navigator.userAgent.match(new RegExp("msie 10", "i")) !== null,
+                msie10 = /*@cc_on!@*/false,
                 iphone = navigator.userAgent.match(new RegExp("iphone", "i")) !== null,
                 android = navigator.userAgent.match(new RegExp("android.*safari.*", "i")) !== null,
                 pasteEvent = isInputEventSupported('paste') && !msie10 ? 'paste' : 'input',