瀏覽代碼

갱신 UI 개선

Basix 8 年之前
父節點
當前提交
19e78c8aee
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      views/vstopic.tpl

+ 2 - 1
views/vstopic.tpl

@@ -11,12 +11,13 @@
 <h1 class="title">
     {{title}}
     <sub> ({{sub}})</sub>
+    <a id="reload" href="javascript:location.href.endsWith('#reload') ?  location.reload(true) : location.href = '#reload'"><i aria-hidden="true" class="fa fa-refresh"></i></i>
+</a>
 </h1>
 <h2 style="margin-top: -15px;">{{toron}}</h2>
 <br>
 {{!rows}}
 % if(not ban == 1):
-    <a id="reload" href="javascript:window.location.reload(true);">(갱신)</a> <a href="#reload">(갱신 전에 누르시오)</a>
     <form id="usrform" style="{{style}}" method="POST" action="/topic/{{page}}/sub/{{suburl}}">
         <br>
         <textarea rows="10" cols="100" name="content" form="usrform"></textarea>