From 57a354f09d5864db15f648f3e012ea878e389c6d Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Fri, 16 May 2014 11:17:22 -0300 Subject: [PATCH] copay icon in notifications --- js/services/notifications.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/services/notifications.js b/js/services/notifications.js index 7f428d989..0ba227a04 100644 --- a/js/services/notifications.js +++ b/js/services/notifications.js @@ -17,13 +17,13 @@ angular.module('notifications', []). details: true, localStorage: false, html5Mode: false, - html5DefaultIcon: '../img/satoshi.gif' + html5DefaultIcon: 'img/favicon.ico' }; function html5Notify(icon, title, content, ondisplay, onclose){ if(window.webkitNotifications.checkPermission() === 0){ if(!icon){ - icon = '../img/favicon.ico'; + icon = 'img/favicon.ico'; } var noti = window.webkitNotifications.createNotification(icon, title, content); if(typeof ondisplay === 'function'){ @@ -113,7 +113,7 @@ angular.module('notifications', []). info: function(title, content, userData){ console.log(title, content); - return this.awesomeNotify('info','info', title, content, userData); + return this.awesomeNotify('info','loop', title, content, userData); }, error: function(title, content, userData){ @@ -220,7 +220,7 @@ angular.module('notifications', []). '' + '
' + '
' + - '' + + '' + '' + '
' + '
' +