fix:土耳其语toLocaleLowerCase无法匹配正则

This commit is contained in:
Guoli Guan 2022-04-20 17:48:50 +00:00
parent ce805ee6b3
commit fa9c940c62

View File

@ -1524,7 +1524,7 @@
//是否输入框
Class.prototype.isInput = function(elem){
return /input|textarea/.test(elem.tagName.toLocaleLowerCase());
return /input|textarea/.test(elem.tagName.toLocaleLowerCase()) || /INPUT|TEXTAREA/.test(elem.tagName);
};
//绑定的元素事件处理