From 297c259cd527b68e006a417266c4b9be8270e988 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 10 Apr 2012 11:19:26 +0200 Subject: Lafargue: Fix desktop notification formatting. --- static/js/lafargue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') 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(); } }; -- cgit v1.2.3