Issue #0001547: correct url
This commit is contained in:
parent
6d92543216
commit
23c4a0a5aa
@ -2,8 +2,8 @@ $(document).ready(function(){
|
||||
|
||||
$('img.flag').on('click', function() {
|
||||
var url = window.location.href;
|
||||
$.post('user/lang', {lang: $(this).attr('id')}, function(data){
|
||||
window.location.href = url;
|
||||
$.post('/user/lang', {lang: $(this).attr('id')}, function(data){
|
||||
window.location.href = url;
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user