autofocus textarea

This commit is contained in:
Ryan Stafford 2024-05-10 21:19:46 -04:00
parent c21e5e8db8
commit f380c4723e

View file

@ -9,7 +9,7 @@
</label> </label>
</div> </div>
<div> <div>
<textarea name="content"> <textarea name="content" {{ if .XHR }}autofocus{{ end }}>
{{- if .Content }} {{- if .Content }}
{{- .Content -}} {{- .Content -}}
{{ else if and (eq .Op "edit") .Comments }} {{ else if and (eq .Op "edit") .Comments }}