mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-22 03:36:37 +02:00
Fall back to userLanguage in IE
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ iD.detect = function() {
|
||||
// Added due to incomplete svg style support. See #715
|
||||
browser.opera = ua.indexOf('Opera') >= 0;
|
||||
|
||||
browser.locale = navigator.language;
|
||||
browser.locale = navigator.language || navigator.userLanguage;
|
||||
|
||||
browser.filedrop = (window.FileReader && 'ondrop' in window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user