From b9dc6a61ad54726510a1e8072264231087a14cb1 Mon Sep 17 00:00:00 2001 From: joyqi Date: Wed, 25 Jan 2017 11:51:28 +0800 Subject: [PATCH] add ignore tag --- admin/js/typecho.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/js/typecho.js b/admin/js/typecho.js index 0a89c27e..997c50e0 100644 --- a/admin/js/typecho.js +++ b/admin/js/typecho.js @@ -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 {