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 ->