Skip to content

Commit

Permalink
Default to 'ask' instead of 'allow all' when DND is off
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Spreitzer committed Mar 7, 2017
1 parent 9a228b8 commit f865896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/eventPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ chrome.alarms.onAlarm.addListener(function(alarm) {

chrome.contentSettings['notifications'].set({
'primaryPattern': '<all_urls>',
'setting': 'allow'
'setting': 'ask'
});

chrome.browserAction.setIcon({path: 'images\\bell-gray-16.png'});
Expand Down
2 changes: 1 addition & 1 deletion src/snooze.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function activateSnooze() {
function endSnooze() {
chrome.contentSettings['notifications'].set({
'primaryPattern': '<all_urls>',
'setting': 'allow'
'setting': 'ask'
});

chrome.browserAction.setIcon({path: 'images\\bell-gray-16.png'});
Expand Down

0 comments on commit f865896

Please sign in to comment.