Fixed drawAttention() position to comply with user's settings (#1612)
This fix is related about issue #1587 window.drawAttention() repositioned to allow complete control over notifications by settings. It now does not draw attention when the notifications are off.
This commit is contained in:
parent
fb931b4733
commit
a3fbb9a6aa
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
window.drawAttention();
|
||||
|
||||
var audioNotification = storage.get('audio-notification') || false;
|
||||
if (audioNotification) {
|
||||
sound.play();
|
||||
|
@ -54,6 +52,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
window.drawAttention();
|
||||
|
||||
var title;
|
||||
var message;
|
||||
var iconUrl;
|
||||
|
|
Loading…
Reference in a new issue