mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04:00
Merge branch 'master' of github.com:PrivateBin/PrivateBin into blob
This commit is contained in:
commit
2fce7bb96a
5 changed files with 37 additions and 3 deletions
|
@ -441,7 +441,7 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
|
|||
|
||||
// auto-select language based on browser settings
|
||||
if (newLanguage.length === 0) {
|
||||
newLanguage = (navigator.language || navigator.userLanguage).substring(0, 2);
|
||||
newLanguage = (navigator.language || navigator.userLanguage || 'en').substring(0, 2);
|
||||
}
|
||||
|
||||
// if language is already used skip update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue