diff --git a/.gitignore b/.gitignore
index 204221c19..ceb255b00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
.DS_Store
.idea/
*.log
+*.iml
node_modules/
# Ignore unused verdors' files
diff --git a/layout/_macro/wechat-subscriber.swig b/layout/_macro/wechat-subscriber.swig
index a0d3a170d..3705a7027 100644
--- a/layout/_macro/wechat-subscriber.swig
+++ b/layout/_macro/wechat-subscriber.swig
@@ -1,6 +1,6 @@
{% if theme.wechat_subscriber.enabled %}
-
+
{{ theme.wechat_subscriber.description }}
-{% endif %}
\ No newline at end of file
+{% endif %}
diff --git a/layout/_partials/header.swig b/layout/_partials/header.swig
index 7b60f6bab..15c13ee6a 100644
--- a/layout/_partials/header.swig
+++ b/layout/_partials/header.swig
@@ -46,9 +46,9 @@
{% if hasSearch %}
";
@@ -108,7 +108,7 @@
});}
// handle and trigger popup window;
- $('.popup-trigger').mousedown(function(e) {
+ $('.popup-trigger').click(function(e) {
e.stopPropagation();
if (isfetched == false) {
searchFunc(path, 'local-search-input', 'local-search-result');
@@ -127,4 +127,4 @@
e.stopPropagation();
});
-{% endif %}
\ No newline at end of file
+{% endif %}
diff --git a/test/.jshintrc b/test/.jshintrc
index b005011b2..038a8b017 100644
--- a/test/.jshintrc
+++ b/test/.jshintrc
@@ -4,7 +4,6 @@
"eqeqeq": true,
"undef": true,
"newcap": true,
- "undef": true,
"unused": true,
"laxcomma": false,
"asi": false,