2019-06-29 15:16:27 +02:00
|
|
|
var browser : Browser = browser || chrome;
|
2018-09-16 12:27:42 +02:00
|
|
|
|
|
|
|
document.getElementById('cancelButton').addEventListener('click', () => {
|
2019-06-29 15:41:37 +02:00
|
|
|
browser.runtime.sendMessage({ acceptClicked: false }, () => { });
|
2018-09-16 12:27:42 +02:00
|
|
|
})
|
|
|
|
document.getElementById('acceptButton').addEventListener('click', () => {
|
2019-06-29 15:41:37 +02:00
|
|
|
browser.runtime.sendMessage({ acceptClicked: true }, () => { });
|
2018-09-16 12:27:42 +02:00
|
|
|
})
|