mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
removed error message when notification can not be closed
This commit is contained in:
parent
f93f2958b7
commit
b563a9d3ca
2 changed files with 7 additions and 1 deletions
|
@ -122,7 +122,12 @@ exports.notify = function({url, errorStack, messageId}, {lists, notificationPref
|
|||
var displayTime = notificationPref.displayTime();
|
||||
if (displayTime){
|
||||
notification.hideTimeout = setTimeout(function(){
|
||||
notification.close();
|
||||
try {
|
||||
notification.close();
|
||||
}
|
||||
catch(e){
|
||||
// tab is not in focus
|
||||
}
|
||||
}, displayTime * 1000);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ Version 0.3.6:
|
|||
fixes:
|
||||
- faking webGL
|
||||
- added readPixels for webGL2
|
||||
- removed error message when notification can not be closed
|
||||
|
||||
Version 0.3.5
|
||||
new features:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue