diff --git a/src/ext/GeometryUtil.js b/src/ext/GeometryUtil.js index 5a95cfaf3..5efae3985 100755 --- a/src/ext/GeometryUtil.js +++ b/src/ext/GeometryUtil.js @@ -70,7 +70,7 @@ if (isMetric) { units = ['ha', 'm']; - type = typeof isMetric; + var type = typeof isMetric; if (type === 'string') { units = [isMetric]; } else if (type !== 'boolean') {