Browse Source

Merge pull request #12 from amefs/zh-CN

在新标签页中打开链接
MortyFx 4 years ago
parent
commit
14ef41cb28
2 changed files with 3 additions and 3 deletions
  1. 2 2
      index.html
  2. 1 1
      results.html

+ 2 - 2
index.html

@@ -227,8 +227,8 @@ function I(id){return document.getElementById(id);}
 		IP地址: <span id="ip"></span>
 	</div>
 </div>
-<p><a href="./results.html">查看测速记录</a></p>
-<p><a href="https://github.com/BadApple9/speedtest-x">speedtest-x 项目地址</a></p>
+<p><a href="./results.html" target="_blank">查看测速记录</a></p>
+<p><a href="https://github.com/BadApple9/speedtest-x" target="_blank">speedtest-x 项目地址</a></p>
 <script type="text/javascript">
     initUI();
 </script>

+ 1 - 1
results.html

@@ -22,7 +22,7 @@
 <table class="layui-hide" id="test"></table>
 
 <div class="footer">
-  <a href="https://github.com/BadApple9/speedtest-x">speedtest-x 项目地址</a>
+  <a href="https://github.com/BadApple9/speedtest-x" target="_blank">speedtest-x 项目地址</a>
 </div>
 
 <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/layui.js" charset="utf-8"></script>