case insensitive locale check

This commit is contained in:
Bryan Housel
2014-07-16 10:27:42 -04:00
parent 85656a40cc
commit bcbb68ddb7
+1 -1
View File
@@ -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;