diff --git a/amadeus/static/js/main.js b/amadeus/static/js/main.js index f289ad8..59aa8cc 100755 --- a/amadeus/static/js/main.js +++ b/amadeus/static/js/main.js @@ -30,7 +30,7 @@ $(function () { var change_language = { post: function(url, language){ $.post(url, language ,function(data){ - console.log(data); + window.location.href= window.location.href; }); } } diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index c355d92..7acb0d4 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -106,13 +106,13 @@