Fix Safari i18n function (default to '' if no localized string found)

This commit is contained in:
Chris 2015-01-11 20:34:47 -07:00
parent 3982bd6de9
commit e287e4643f
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ xhr.send();
vAPI.i18nData = JSON.parse(xhr.responseText);
vAPI.i18n = function(s) {
return this.i18nData[s] || s;
return this.i18nData[s] || '';
};
})();