rindy 2 年之前
父节点
当前提交
7631c4badf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -35,7 +35,7 @@
                 search: {
                     maxAge: 86400000,
                     paths: '/',
-                    placeholder: '搜索',
+                    placeholder: window.location.href.indexOf('/zh-cn/')!=-1?'搜索':'Type to search',
                     noData: 'No Results',
                 },
                 markdown: {