From 3f3b349555158f99c4aa22f77b602294f3f3221c Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Wed, 7 Mar 2012 15:25:41 -0500 Subject: [PATCH] Added form and changes button to input so that users could hit enter on language and location --- profile.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profile.html b/profile.html index a126ad1fe9..b82996cb47 100644 --- a/profile.html +++ b/profile.html @@ -29,8 +29,8 @@ $(function() { loc=false; - $("#location_sub").html(''+ - ''); + $("#location_sub").html('
'+''+ + ''+'
'); $("#change_loc_button").click(function() { $("#change_location").show(); @@ -50,8 +50,8 @@ $(function() { if(lang) { lang=false; - $("#language_sub").html(''+ - ''); + $("#language_sub").html('
'+''+ + ''+'
'); $("#change_lang_button").click(function() { $("#change_language").show(); postJSON('/change_setting', {'language':$("#id_lang_text").attr("value")}, function(json) {