Skip to content

Commit

Permalink
✨ Execute get scroll on page load if a saved scroll is available
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek3255 committed Mar 22, 2020
1 parent 17d7a7b commit 904f2bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ chrome.tabs.onUpdated.addListener((tabId, updateObj) => {
if (!scrollMarkData.hasOwnProperty(url)) {
setInactiveIcon();
} else {
executeGetScroll(tabId);
setActiveIcon();
}
});
Expand Down
4 changes: 3 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"permissions": [
"tabs",
"storage",
"activeTab"
"activeTab",
"http://*/",
"https://*/"
],
"options_page": "options.html",
"background": {
Expand Down

0 comments on commit 904f2bf

Please sign in to comment.