From a7313ac8956afdf31fdc921b08b85687665384ce Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 15 Mar 2014 17:22:55 +0100 Subject: HOTFIX: falsche Benutzung von jQuery --- js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/index.js b/js/index.js index 0be25f9..5ef44b7 100644 --- a/js/index.js +++ b/js/index.js @@ -39,8 +39,8 @@ function login(){ theme: "b", }); - var username = encodeURIComponent($("#username").value); - var password = encodeURIComponent($("#password").value); + var username = encodeURIComponent($("#username").val()); + var password = encodeURIComponent($("#password").val()); var params = "username=" + username + "&password=" + password; var request = $.ajax({ -- cgit v1.3.1