Skip to content

Commit

Permalink
Removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamthewilliam committed Dec 11, 2023
1 parent 1a0927d commit 3f8e9f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,11 @@ chrome.tabs.onCreated.addListener(function onCreateListener(tab) {
}
else {
if(currentTab.index !== onUpdatedTab.index) {
//if(onUpdatedTab.url.startsWith(finalUrlDestination)) {

console.log("We are in a different tab and will make a push notification");

handleNotification(onUpdatedTab.index);

chrome.tabs.onUpdated.removeListener(listener);
// }
}
else {
console.log("We are currently in the same tab. Add value to textbox and submit form");
Expand Down

0 comments on commit 3f8e9f6

Please sign in to comment.