mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
case insensitive locale check
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
iD.ui.Scale = function(context) {
|
||||
var projection = context.projection,
|
||||
imperial = (iD.detect().locale === 'en-us'),
|
||||
imperial = (iD.detect().locale.toLowerCase() === 'en-us'),
|
||||
maxLength = 180,
|
||||
tickHeight = 8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user