diff --git a/html5_notifier.js b/html5_notifier.js
index 9e00ed8..b49115c 100644
--- a/html5_notifier.js
+++ b/html5_notifier.js
@@ -15,7 +15,7 @@ function rcmail_show_notification(message)
{
if ("Notification" in window) {
var notification = new Notification(rcmail.gettext('notification_title', 'html5_notifier').replace('[from]', message.from), {
- icon: './plugins/html5_notifier/images/new_mail.png',
+ icon: rcmail.assets_path('plugins/html5_notifier/images/new_mail.png'),
body: message.subject
});
notification.onclick = function() {
@@ -143,3 +143,4 @@ if (window.rcmail)
rcmail.addEventListener('plugin.showNotification', rcmail_show_notification);
rcmail.addEventListener('init', rcmail_check_notifications);
}
+