mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 08:39:56 +02:00
Fix console reference for IE
https://app.getsentry.com/id/id/group/4402396/
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ function t(s, o, loc) {
|
||||
return rep;
|
||||
} else {
|
||||
var missing = 'Missing translation: ' + s;
|
||||
if (console) console.error(missing);
|
||||
if (typeof console !== "undefined") console.error(missing);
|
||||
if (loc !== 'en') return t(s, o, 'en');
|
||||
if (o && 'default' in o) return o['default'];
|
||||
return missing;
|
||||
|
||||
Reference in New Issue
Block a user