From a9d3a5f1085a43456a5c105ec131c568c42e0882 Mon Sep 17 00:00:00 2001 From: sxw Date: Sun, 13 Dec 2015 14:23:09 +0800 Subject: [PATCH] =?UTF-8?q?jquery=E9=80=89=E6=8B=A9=E5=99=A8=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E7=AC=A6=E4=B8=B2=E9=87=8C=E5=A4=9A=E6=89=93?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=B8=AA=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/js/app/oj/account/changePassword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/src/js/app/oj/account/changePassword.js b/static/src/js/app/oj/account/changePassword.js index fe7d908a..e825285a 100644 --- a/static/src/js/app/oj/account/changePassword.js +++ b/static/src/js/app/oj/account/changePassword.js @@ -10,7 +10,7 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c $('form').validator().on('submit', function (e) { e.preventDefault(); - var newPassword = $("#new_password ").val(); + var newPassword = $("#new_password").val(); var password = $("#password").val(); var captcha = $("#captcha").val(); $.ajax({