diff mercurial/templates/paper/changeset.tmpl @ 37830:82ae4f471254 stable

paper: add href="#" to links with click handlers This restores the styling that was accidentally removed by the previous change to these files. Differential Revision: https://phab.mercurial-scm.org/D3438
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 02 May 2018 21:00:43 -0700
parents 2ead51dcde71
children
line wrap: on
line diff
--- a/mercurial/templates/paper/changeset.tmpl	Wed May 02 19:16:01 2018 -0700
+++ b/mercurial/templates/paper/changeset.tmpl	Wed May 02 21:00:43 2018 -0700
@@ -73,9 +73,9 @@
   <th class="diffstat">diffstat</th>
   <td class="diffstat">
     {diffsummary}
-    <a id="diffstatexpand" class="diffstattoggle">[<tt>+</tt>]</a>
+    <a id="diffstatexpand" class="diffstattoggle" href="#">[<tt>+</tt>]</a>
     <div id="diffstatdetails" style="display:none;">
-      <a class="diffstattoggle">[<tt>-</tt>]</a>
+      <a class="diffstattoggle" href="#">[<tt>-</tt>]</a>
       <table class="diffstat-table stripes2">{diffstat}</table>
     </div>
   </td>
@@ -83,7 +83,7 @@
 </table>
 
 <div class="overflow">
-<div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink">on</a></div>
+<div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="#">on</a></div>
 <div class="sourcefirst"> line diff</div>
 <div class="stripes2 diffblocks">
 {diff}