mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-21 06:01:46 -04:00
Keep paste URL, if changing language in dropdown
This commit is contained in:
parent
ffd4210fe2
commit
67a1dfb683
3 changed files with 3 additions and 2 deletions
|
@ -3934,7 +3934,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
function setLanguage(event)
|
||||
{
|
||||
document.cookie = 'lang=' + $(event.target).data('lang') + '; SameSite=Lax; Secure';
|
||||
UiHelper.reloadHome();
|
||||
window.location.reload();
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue