自动关弹框

pull/23/head
630892807@qq.com 4 years ago
parent 2a4336c26d
commit a6a2e1040b

@ -36,6 +36,9 @@ function notify(title, options, callback) {
notification.onclick = function(event) { notification.onclick = function(event) {
callback(notification, event); callback(notification, event);
} }
setTimeout(function () {
notification.close();
},3000);
} }
} }
var titleTimer,titleNum=0; var titleTimer,titleNum=0;

Loading…
Cancel
Save