mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix the build
1. Update chrome version because v40 fails to clear the session store 2. Add message view to test page and fix bad reference to chrome 3. Update the message view template in tests with new timestmap markup // FREEBIE
This commit is contained in:
@@ -124,7 +124,11 @@
|
||||
},
|
||||
onClosed: function(callback) {
|
||||
// assumes only one front end window
|
||||
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
|
||||
if (window.chrome && chrome.app && chrome.app.window) {
|
||||
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
|
||||
} else {
|
||||
window.addEventListener('beforeunload', callback);
|
||||
}
|
||||
},
|
||||
|
||||
drawAttention: function(window_id) {
|
||||
|
||||
Reference in New Issue
Block a user