Skip to content

Loading…

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

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 platform/safari/vapi-common.js
View
2 platform/safari/vapi-common.js
@@ -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] || '';
};
})();
Something went wrong with that request. Please try again.