mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 15:47:35 +00:00
feat: update for complex add to cart, fix nvidia (#108)
This commit is contained in:
+5
-1
@@ -91,7 +91,11 @@ async function lookup(browser: Browser, store: Store) {
|
||||
const givenUrl = link.cartUrl ? link.cartUrl : link.url;
|
||||
|
||||
if (Config.browser.open) {
|
||||
await open(givenUrl);
|
||||
if (link.openCartAction === undefined) {
|
||||
await open(givenUrl);
|
||||
} else {
|
||||
link.openCartAction(browser);
|
||||
}
|
||||
}
|
||||
|
||||
sendNotification(givenUrl, link);
|
||||
|
||||
Reference in New Issue
Block a user