Skip to content

Commit

Permalink
Defaulted notify() pos to bottom-right ↞ [auto-sync from https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Nov 18, 2024
1 parent 5c7e8ed commit 4e80eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starters/chrome/extension/popup/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

// Define FUNCTIONS

function notify(msg, pos) {
function notify(msg) {
chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => {
chrome.tabs.sendMessage(tabs[0].id, {
action: 'notify', msg: msg, pos: pos || 'bottom-right' })
action: 'notify', msg: msg, pos: 'bottom-right' })
})}

function syncStorageToUI() {
Expand Down

0 comments on commit 4e80eff

Please sign in to comment.