Move window.chrome reference to chromium.js

// FREEBIE
pull/749/head
lilia 9 years ago
parent a9562b23b6
commit 688b297050

@ -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 = {

@ -5,8 +5,6 @@
'use strict';
window.Whisper = window.Whisper || {};
moment.locale(chrome.i18n.getUILanguage());
Whisper.TimestampView = Whisper.View.extend({
initialize: function(options) {
extension.windows.onClosed(this.clearTimeout.bind(this));

Loading…
Cancel
Save