Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/extension/src/background.js
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | */ | ||||
console.log(`txInfo`); | console.log(`txInfo`); | ||||
console.log(txInfo); | console.log(txInfo); | ||||
const queryString = Object.keys(txInfo) | const queryString = Object.keys(txInfo) | ||||
.map(key => key + '=' + txInfo[key]) | .map(key => key + '=' + txInfo[key]) | ||||
.join('&'); | .join('&'); | ||||
// create new notification popup | // create new notification popup | ||||
const popupWindow = await openWindow({ | await openWindow({ | ||||
url: `index.html#/send?${queryString}`, | url: `index.html#/send?${queryString}`, | ||||
type: 'popup', | type: 'popup', | ||||
width: NOTIFICATION_WIDTH, | width: NOTIFICATION_WIDTH, | ||||
height: NOTIFICATION_HEIGHT, | height: NOTIFICATION_HEIGHT, | ||||
left, | left, | ||||
top, | top, | ||||
}); | }); | ||||
} | } | ||||
Show All 37 Lines |