Skip to content

Commit

Permalink
Update input vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Feb 25, 2023
1 parent c9eb049 commit b76f453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ if (appUrl) {
])
window.location = appUrl + args.join('')
} else {
const pin = open('http://TARGET_URL/bookmarks/add?' + args.join(''), 'WINDOW_TITLE', `toolbar=no,width=${width},height=${height}`)
const pin = open('TRANSPORT://HOST/bookmarks/add?' + args.join(''), 'WINDOW_TITLE', `toolbar=no,width=${width},height=${height}`)

// nice to have: load json file of recent type->names maps to avoid dupes
if (additional) {
Expand All @@ -326,7 +326,7 @@ if (appUrl) {
'&tags=', encodeURIComponent(additional.tags.join(' '))
]

open('http://TARGET_URL/bookmarks/add?' + additionalArgs.join(''), 'WINDOW_TITLE 2', `toolbar=no,width=${width},height=${height}`)
open('TRANSPORT://HOST/bookmarks/add?' + additionalArgs.join(''), 'WINDOW_TITLE 2', `toolbar=no,width=${width},height=${height}`)
}

// Send the window to the background if readlater mode.
Expand Down

0 comments on commit b76f453

Please sign in to comment.