haketilo / html / display-panel.js @ b93f26bf
1 |
/**
|
---|---|
2 |
* Myext display panel logic
|
3 |
*
|
4 |
* Copyright (C) 2021 Wojtek Kosior
|
5 |
* Redistribution terms are gathered in the `copyright' file.
|
6 |
*/
|
7 |
|
8 |
"use strict"; |
9 |
|
10 |
(() => { |
11 |
const browser = window.browser; |
12 |
|
13 |
document.getElementById("settings_but") |
14 |
.addEventListener("click", (e) => browser.runtime.openOptionsPage()); |
15 |
})();
|