mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Move window.chrome reference to chromium.js
// FREEBIE
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user