mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-25 06:25:46 +00:00
autofocus textarea
This commit is contained in:
parent
c21e5e8db8
commit
f380c4723e
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue