Skip to content

Commit

Permalink
Fix Bookmarks (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr authored May 17, 2024
1 parent 3868114 commit 0ac836d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Aviation Quick Search and Lookup Tools.",
"homepage_url": "https://github.com/cssnr/aviation-tools",
"author": "Shane",
"version": "0.1.4",
"version": "0.1.5",
"manifest_version": 3,
"commands": {
"_execute_action": {
Expand Down
4 changes: 4 additions & 0 deletions src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ async function initPopup() {
for (const [key, value] of Object.entries(searchLinks)) {
// console.debug(`${key}: ${value}`)
const ul = document.getElementById(key)
if (!ul) {
console.debug('skipping:', key)
continue
}
for (const [name, url] of Object.entries(value)) {
// console.debug(`${name}: ${url}`)
createSearchLink(ul, url, name)
Expand Down

0 comments on commit 0ac836d

Please sign in to comment.