mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
修复无法刷新验证码的问题
This commit is contained in:
parent
ad4b1150f3
commit
7d52a46d88
@ -1,7 +1,7 @@
|
||||
require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, csrfTokenHeader) {
|
||||
|
||||
function refresh_captcha(){
|
||||
this.src = "/captcha/?" + Math.random();
|
||||
$("#captcha-img")[0].src = "/captcha/?" + Math.random();
|
||||
$("#captcha")[0].value = "";
|
||||
}
|
||||
$("#captcha-img").click(function(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user