feature(dom) add notify-icon

This commit is contained in:
coderaiser 2013-11-14 12:25:21 +00:00
parent 50f259bea2
commit b04b09a247
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -658,7 +658,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
var notify, granted = Notify.check();
if (granted && Show)
notify = new Notification(msg);
notify = new Notification(msg, {
icon: '/img/favicon/favicon-notify.png',
});
};
this.check = function () {