summaryrefslogtreecommitdiff
path: root/search.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-06-17 05:56:14 +0200
committermayx <mayx@outlook.com>2025-06-17 05:56:14 +0200
commitc25290e716e57c4e15e61df52c9a1e50d32415ff (patch)
tree208298cd091cd7f95359110b170ba9724df3c976 /search.html
parent7fbeaffac33ae2d60299b6f5485bf2004fe46ada (diff)
Update 2 files
- /assets/js/simple-jekyll-search.min.js - /search.html
Diffstat (limited to 'search.html')
-rw-r--r--search.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/search.html b/search.html
index 651e8af..be69f4d 100644
--- a/search.html
+++ b/search.html
@@ -6,7 +6,7 @@ title: 搜索
<h1>搜索</h1>
<form action="https://www.google.com/search">
<input type="hidden" name="as_sitesearch" value="mabbs.github.io" />
-<p><center><input name="q" type="text" id="search-input" placeholder="Search blog posts.." /> <!--[if !IE]> --><img src="/images/loading.svg" alt="Loading..." id="search-loading" style="width:22px;vertical-align: bottom" /><!-- <![endif]--> <input type="submit" value="谷歌搜索" style="margin-left: 5px;" /></center></p>
+<p><center><input name="q" type="text" id="search-input" placeholder="Search blog posts.." /> <img src="/images/loading.svg" alt="Loading..." id="search-loading" style="width:22px;vertical-align: bottom" /> <input type="submit" value="谷歌搜索" style="margin-left: 5px;" /></center></p>
</form>
<ul id="results-container"></ul>
<script>
@@ -25,7 +25,6 @@ if (mykeyword) {
sbox.value = mykeyword;
}
</script>
-<!--[if !IE]> -->
<script src="/assets/js/simple-jekyll-search.min.js"></script>
<script>
getSearchJSON(function(json){
@@ -39,5 +38,4 @@ getSearchJSON(function(json){
sjs.search(mykeyword);
document.getElementById('search-loading').style.display = "none";
});
-</script>
-<!-- <![endif]--> \ No newline at end of file
+</script> \ No newline at end of file