Skip to content

Commit b447a02

Browse files
committed
调整 将搜索框plac统一为英文Search 不论中英文
1 parent a91a9d9 commit b447a02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

static/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312

313313
var html =
314314
"<div class=\"input-wrap\">\n <input type=\"search\" value=\"" + defaultValue +
315-
"\" placeholder=\"搜索\">\n <div class=\"clear-button\">\n <svg width=\"26\" height=\"24\">\n <circle cx=\"12\" cy=\"12\" r=\"11\" fill=\"#ccc\" />\n <path stroke=\"white\" stroke-width=\"2\" d=\"M8.25,8.25,15.75,15.75\" />\n <path stroke=\"white\" stroke-width=\"2\"d=\"M8.25,15.75,15.75,8.25\" />\n </svg>\n </div>\n </div>\n <div class=\"results-panel\"></div>\n </div>";
315+
"\" placeholder=\"Search\">\n <div class=\"clear-button\">\n <svg width=\"26\" height=\"24\">\n <circle cx=\"12\" cy=\"12\" r=\"11\" fill=\"#ccc\" />\n <path stroke=\"white\" stroke-width=\"2\" d=\"M8.25,8.25,15.75,15.75\" />\n <path stroke=\"white\" stroke-width=\"2\"d=\"M8.25,15.75,15.75,8.25\" />\n </svg>\n </div>\n </div>\n <div class=\"results-panel\"></div>\n </div>";
316316
var searchElem = Docsify.dom.create('div', html);
317317
var aside = Docsify.dom.find('aside');
318318
var navbar = Docsify.dom.find('.app-nav');

static/search.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)