Use relative paths
// FREEBIE
This commit is contained in:
parent
95e809636a
commit
859d49b3f4
21 changed files with 106 additions and 106 deletions
|
@ -20,7 +20,7 @@
|
|||
});
|
||||
|
||||
// start a background worker for ecc
|
||||
textsecure.startWorker('/js/libsignal-protocol-worker.js');
|
||||
textsecure.startWorker('js/libsignal-protocol-worker.js');
|
||||
Whisper.KeyChangeListener.init(textsecure.storage.protocol);
|
||||
textsecure.storage.protocol.on('removePreKey', function() {
|
||||
getAccountManager().refreshPreKeys();
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
this.inits.env = 1;
|
||||
this.include_title = true;
|
||||
this.img_sets.apple.path = '/images/emoji/apple/';
|
||||
this.img_sets.apple.path = 'images/emoji/apple/';
|
||||
this.replace_mode = 'img';
|
||||
};
|
||||
|
||||
|
|
|
@ -37095,7 +37095,7 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
|
|||
window.textsecure.protobuf = {};
|
||||
|
||||
function loadProtoBufs(filename) {
|
||||
return dcodeIO.ProtoBuf.loadProtoFile({root: '/protos', file: filename}, function(error, result) {
|
||||
return dcodeIO.ProtoBuf.loadProtoFile({root: 'protos', file: filename}, function(error, result) {
|
||||
var protos = result.build('textsecure');
|
||||
for (var protoName in protos) {
|
||||
textsecure.protobuf[protoName] = protos[protoName];
|
||||
|
|
|
@ -930,7 +930,7 @@
|
|||
content: title ? title.trim()[0] : '#'
|
||||
};
|
||||
} else {
|
||||
return { url: '/images/group_default.png', color: color };
|
||||
return { url: 'images/group_default.png', color: color };
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
MESSAGE : 'message'
|
||||
};
|
||||
|
||||
var sound = new Audio('/audio/NewMessage.mp3');
|
||||
var sound = new Audio('audio/NewMessage.mp3');
|
||||
|
||||
Whisper.Notifications = new (Backbone.Collection.extend({
|
||||
initialize: function() {
|
||||
|
|
|
@ -121,8 +121,8 @@
|
|||
|
||||
var type = file.type.split('/')[0];
|
||||
switch (type) {
|
||||
case 'audio': this.addThumb('/images/audio.svg'); break;
|
||||
case 'video': this.addThumb('/images/video.svg'); break;
|
||||
case 'audio': this.addThumb('images/audio.svg'); break;
|
||||
case 'video': this.addThumb('images/video.svg'); break;
|
||||
case 'image':
|
||||
this.oUrl = URL.createObjectURL(file);
|
||||
this.addThumb(this.oUrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue