This commit is contained in:
Mayhem 2013-08-17 17:53:44 +02:00
parent 253a4a8fbe
commit 9efb04435c
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ module.exports = (grunt) ->
'lib/**/*' 'lib/**/*'
'src/General/UI.coffee' 'src/General/UI.coffee'
'src/General/Header.coffee' 'src/General/Header.coffee'
'src/General/Notification.coffee' 'src/General/Notice.coffee'
'src/General/Settings.coffee' 'src/General/Settings.coffee'
'src/General/Get.coffee' 'src/General/Get.coffee'
'src/General/Build.coffee' 'src/General/Build.coffee'

View File

@ -114,8 +114,8 @@ QR =
notice = new Notice 'warning', el notice = new Notice 'warning', el
QR.notifications.push notice QR.notifications.push notice
return unless d.hidden return unless d.hidden
notif = new Notification el.textContent, notif = new Notification '<%= meta.name %> QR warning',
iconUrl: Favicon.empty body: el.textContent
notif.onclick = -> window.focus() notif.onclick = -> window.focus()
notif.onclose = -> notice.close() notif.onclose = -> notice.close()
setTimeout -> setTimeout ->