summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-10 11:19:26 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-10 11:19:26 +0200
commit297c259cd527b68e006a417266c4b9be8270e988 (patch)
treef7dde57376c9ab654bb228ca125117a4dd89bde4
parent557332e37a7f615bafb767d8ba388c5a3a729944 (diff)
Lafargue: Fix desktop notification formatting.
-rw-r--r--static/js/lafargue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/lafargue.js b/static/js/lafargue.js
index baf7112..86ef035 100644
--- a/static/js/lafargue.js
+++ b/static/js/lafargue.js
@@ -9,7 +9,7 @@ jQuery(function($) {
var message = JSON.parse(event.data);
$('.lafargue-list').prepend(message.html);
if (window.webkitNotifications && notificationsp) {
- var notification = window.webkitNotifications.createNotification(null, '', 'Lafargue', 'New message by ' + message.first_name);
+ var notification = window.webkitNotifications.createNotification('', 'Lafargue', 'New message by ' + message.first_name);
notification.show();
}
};