Merge pull request #1020 from lordGuan/master

fix:土耳其语 isInput 判断
This commit is contained in:
贤心 2022-06-20 15:55:13 +08:00 committed by GitHub
commit 9bcfa554a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1572,7 +1572,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);
};
//绑定的元素事件处理