Fix console reference for IE

https://app.getsentry.com/id/id/group/4402396/
This commit is contained in:
John Firebaugh
2013-04-02 13:54:26 -07:00
parent 3ad94406cb
commit 261e901a91
+1 -1
View File
@@ -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;