mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(dom) add notify-icon
This commit is contained in:
parent
50f259bea2
commit
b04b09a247
2 changed files with 3 additions and 1 deletions
BIN
img/favicon/favicon-notify.png
Normal file
BIN
img/favicon/favicon-notify.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue