From 9efb04435cc8c25826f806684ae6a6b272f9b105 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sat, 17 Aug 2013 17:53:44 +0200 Subject: [PATCH] fixes --- Gruntfile.coffee | 2 +- src/Posting/QR.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 932c66989..2c0ff150b 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -22,7 +22,7 @@ module.exports = (grunt) -> 'lib/**/*' 'src/General/UI.coffee' 'src/General/Header.coffee' - 'src/General/Notification.coffee' + 'src/General/Notice.coffee' 'src/General/Settings.coffee' 'src/General/Get.coffee' 'src/General/Build.coffee' diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index da7130e04..dc160c50a 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -114,8 +114,8 @@ QR = notice = new Notice 'warning', el QR.notifications.push notice return unless d.hidden - notif = new Notification el.textContent, - iconUrl: Favicon.empty + notif = new Notification '<%= meta.name %> QR warning', + body: el.textContent notif.onclick = -> window.focus() notif.onclose = -> notice.close() setTimeout ->