diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-28 12:49:31 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-28 12:49:31 +0200 |
commit | 874fad1451622ec55524ab2d1bae5396a1f47a81 (patch) | |
tree | 3a480c96013f8e10500928a28ed387725599ca40 /talerdonations/donations/templates/index.html | |
parent | 299e81205302a467eb2592b45bb16d8efbf1aa1d (diff) | |
download | donations-874fad1451622ec55524ab2d1bae5396a1f47a81.tar.gz donations-874fad1451622ec55524ab2d1bae5396a1f47a81.tar.bz2 donations-874fad1451622ec55524ab2d1bae5396a1f47a81.zip |
Fix prefilled field autofocus.
Place the cursor at the _end_ of text.
Diffstat (limited to 'talerdonations/donations/templates/index.html')
-rw-r--r-- | talerdonations/donations/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talerdonations/donations/templates/index.html b/talerdonations/donations/templates/index.html index b384362..fc956e5 100644 --- a/talerdonations/donations/templates/index.html +++ b/talerdonations/donations/templates/index.html @@ -39,7 +39,7 @@ You are paying with an imaginary currency ({{ merchant_currency }}). <option value="{{ merchant_currency }}:6">5 {{ merchant_currency }}</option> <option value="{{ merchant_currency }}:10">10 {{ merchant_currency }}</option> </select> - <input type="text" name="donation_donor" value="Anonymous Donor" /> + <input type="text" name="donation_donor" autofocus onfocus="this.value = 'Anonymous Donor'" /> <input type="submit" class="pure-button pure-button-primary" value="Donate!" /> </div> </form> |