diff --git a/js/chromium.js b/js/chromium.js
index 5d14dcf737..d8b9befcd6 100644
--- a/js/chromium.js
+++ b/js/chromium.js
@@ -170,7 +170,7 @@
}
};
- if (chrome) {
+ if (chrome.notifications) {
chrome.notifications.onClicked.addListener(function() {
chrome.notifications.clear('signal');
Whisper.Notifications.onclick();
diff --git a/test/index.html b/test/index.html
index 52827f5c10..e2a1bd07e7 100644
--- a/test/index.html
+++ b/test/index.html
@@ -110,6 +110,7 @@
+
diff --git a/test/views/message_view_test.js b/test/views/message_view_test.js
index 00f3485609..40db1f6586 100644
--- a/test/views/message_view_test.js
+++ b/test/views/message_view_test.js
@@ -9,6 +9,7 @@ describe('MessageView', function() {
conversationId: convo.id,
body: 'hello world',
type: 'outgoing',
+ source: '+14158675309',
received_at: new Date().getTime()
});