Focus compose box on reply
authorr <r@freesoftwareextremist.com>
Sat, 14 Dec 2019 17:48:54 +0000 (17:48 +0000)
committerr <r@freesoftwareextremist.com>
Sat, 14 Dec 2019 17:48:54 +0000 (17:48 +0000)
templates/status.tmpl

index 10934b54eb877adabb8fd7b70d7929a204e382c8..3953f2391cba3cba825d7520b6d3408b584be250 100644 (file)
@@ -1,4 +1,4 @@
-<div class="status-container-container">
+<div id="status-{{.ID}}" class="status-container-container">
        {{if .Reblog}}
        <div class="retweet-info">
                <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
@@ -41,7 +41,7 @@
                        {{end}}
                        </div>
                        <div class="status-action"> 
-                               <a class="status-you" href="/thread/{{.ID}}?reply=true" title="reply"> 
+                               <a class="status-you" href="/thread/{{.ID}}?reply=true#status-{{.ID}}" title="reply"> 
                                        <span class="icon dripicons-reply"></span> 
                                        <span> {{DisplayInteractionCount .RepliesCount}} </span>
                                </a>