diff options
author | Unknwon <u@gogs.io> | 2017-03-30 12:35:43 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-30 12:35:43 -0400 |
commit | aff55ff105243e2e58987a433558c16bd6f3bb34 (patch) | |
tree | fda3ce3a4db5a27fc13f122843cbe2a460bb4110 /vendor/github.com/go-macaron/captcha/captcha.go | |
parent | 4a67bb58064efce10180f3ba8515ae35f9c245a9 (diff) |
vendor: update github.com/go-macaron/captcha
[CI SKIP]
Diffstat (limited to 'vendor/github.com/go-macaron/captcha/captcha.go')
-rw-r--r-- | vendor/github.com/go-macaron/captcha/captcha.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/go-macaron/captcha/captcha.go b/vendor/github.com/go-macaron/captcha/captcha.go index dc97f0fd..687c67a9 100644 --- a/vendor/github.com/go-macaron/captcha/captcha.go +++ b/vendor/github.com/go-macaron/captcha/captcha.go @@ -68,7 +68,7 @@ func (c *Captcha) CreateHtml() template.HTML { panic(fmt.Errorf("fail to create captcha: %v", err)) } return template.HTML(fmt.Sprintf(`<input type="hidden" name="%s" value="%s"> - <a class="captcha" href="javascript:"> + <a class="captcha" href="javascript:" tabindex="-1"> <img onclick="this.src=('%s%s%s.png?reload='+(new Date()).getTime())" class="captcha-img" src="%s%s%s.png"> </a>`, c.FieldIdName, value, c.SubURL, c.URLPrefix, value, c.SubURL, c.URLPrefix, value)) } |