Skip to content

Commit

Permalink
fixes #714
Browse files Browse the repository at this point in the history
  • Loading branch information
kouralex authored and osma committed Aug 27, 2018
1 parent a355721 commit 8c65f39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resource/js/docready.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ $(function() { // DOCUMENT READY
}
var uri = $('.uri-input-box').html();
var base_href = $('base').attr('href'); // see #315, #633
var redirectUrl = base_href + vocab + '/' + lang + '/page/?uri=' + uri;
var clangIfSet = clang !== lang ? "&clang=" + clang : ""; // see #714
var redirectUrl = base_href + vocab + '/' + lang + '/page/?uri=' + uri + clangIfSet;
window.location.replace(encodeURI(redirectUrl));
return false;
}
Expand Down

0 comments on commit 8c65f39

Please sign in to comment.