mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
removed error message when notification can not be closed
This commit is contained in:
parent
f93f2958b7
commit
b563a9d3ca
@ -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…
x
Reference in New Issue
Block a user