* fix bug.

This commit is contained in:
wangyidong
2021-01-29 14:57:00 +08:00
parent e5b0134b22
commit 06d82b5847
+1 -1
View File
@@ -75,7 +75,7 @@ $(document).ready(function()
$('.captchaBox .input-group .input-group-addon img').click(function()
{
var captchaLink = createLink('misc', 'captcha', "sessionVar=captcha");
captchaLink += captchaLink.indexOf('?') ? '?' : '&';
captchaLink += captchaLink.indexOf('?') < 0 ? '?' : '&';
captchaLink += 's=' + Math.random();
$(this).attr('src', captchaLink);