mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 03:36:16 +00:00
Make <textarea> auto-focus on the editor page
This commit is contained in:
parent
60deff0ecd
commit
feea6bf3d7
@ -76,7 +76,7 @@
|
||||
{%s= warning %}
|
||||
<form method="post" class="edit-form"
|
||||
action="/upload-text/{%s hyphaName %}">
|
||||
<textarea name="text" class="edit-form__textarea">{%s textAreaFill %}</textarea>
|
||||
<textarea name="text" class="edit-form__textarea" autofocus>{%s textAreaFill %}</textarea>
|
||||
<br/>
|
||||
<input type="submit" name="action" value="Save" class="edit-form__save"/>
|
||||
<input type="submit" name="action" value="Preview" class="edit-form__preview">
|
||||
|
@ -199,7 +199,7 @@ func StreamEditHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, text
|
||||
qw422016.E().S(hyphaName)
|
||||
//line views/mutators.qtpl:78
|
||||
qw422016.N().S(`">
|
||||
<textarea name="text" class="edit-form__textarea">`)
|
||||
<textarea name="text" class="edit-form__textarea" autofocus>`)
|
||||
//line views/mutators.qtpl:79
|
||||
qw422016.E().S(textAreaFill)
|
||||
//line views/mutators.qtpl:79
|
||||
|
Loading…
Reference in New Issue
Block a user