diff --git a/public/js/vroom.js b/public/js/vroom.js index da22423..9e04774 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -41,14 +41,14 @@ $.ajaxSetup({ }); // Handle lang switch -$('#langSwitch').change(function(){ +$('#switch_lang').change(function(){ $.ajax({ url: rootUrl + 'api', data: { req: JSON.stringify({ action: 'switch_lang', param : { - language: $('#langSwitch').val() + language: $('#switch_lang').val() } }) }, diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index b9cc1a8..ba4b069 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -254,7 +254,7 @@