Move window.chrome reference to chromium.js

// FREEBIE
This commit is contained in:
lilia 2016-08-05 17:13:55 -07:00
parent a9562b23b6
commit 688b297050
2 changed files with 3 additions and 2 deletions

View file

@ -169,6 +169,9 @@
return chrome.i18n.getMessage(message, substitutions);
}
};
if (window.chrome && chrome.i18n) {
moment.locale(chrome.i18n.getUILanguage());
}
window.textsecure = window.textsecure || {};
window.textsecure.registration = {