Skip to content

Commit

Permalink
small translation implementation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMTS committed Apr 11, 2018
1 parent 2179c3f commit f58da30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ $( document ).ready(function() {


$("#change_lang_en").click(function(){
document.cookie = "lang=en; expires=Fri, 31 Dec 9999 23:59:59 GMT; path="+$("#BaseUrl").val();
document.cookie = "lang=en; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/";
location.reload();
});
$("#change_lang_nl").click(function(){
document.cookie = "lang=nl; expires=Fri, 31 Dec 9999 23:59:59 GMT; path="+$("#BaseUrl").val();
document.cookie = "lang=nl; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/";
location.reload();
});

Expand Down

0 comments on commit f58da30

Please sign in to comment.