Move anchors to within the <div>.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 27 Jan 2011 20:13:23 +0000 (21:13 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 27 Jan 2011 20:13:23 +0000 (21:13 +0100)
src/main/resources/templates/include/viewPost.html
src/main/resources/templates/include/viewReply.html

index 74e3450..82c16c9 100644 (file)
@@ -1,5 +1,5 @@
-<a name="post-<% post.id|html>"></a>
 <div id="<% post.id|html>" class="post<%if loop.last> last<%/if><%if post.new> new<%/if>">
+       <a name="post-<% post.id|html>"></a>
        <div class="post-time hidden"><% post.time|html></div>
        <div class="post-author hidden"><% post.sone.id|html></div>
        <div class="avatar">
index 6b13776..cfe15f1 100644 (file)
@@ -1,5 +1,5 @@
-<a name="reply-<% reply.id|html>"></a>
 <div id="<% reply.id|html>" class="reply<%if reply.new> new<%/if>">
+       <a name="reply-<% reply.id|html>"></a>
        <div class="reply-time hidden"><% reply.time|html></div>
        <div class="reply-author hidden"><% reply.sone.id|html></div>
        <div class="avatar">