mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
add ignore tag
This commit is contained in:
parent
03f928d4d9
commit
b9dc6a61ad
@ -128,7 +128,7 @@
|
||||
var target = $(e.toElement ? e.toElement : e.target),
|
||||
tagName = target.prop('tagName').toLowerCase();
|
||||
|
||||
if ($.inArray(tagName, ['input', 'textarea', 'a', 'button']) >= 0
|
||||
if ($.inArray(tagName, ['input', 'textarea', 'a', 'button', 'i']) >= 0
|
||||
&& 'checkbox' != target.attr('type')) {
|
||||
e.stopPropagation();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user