summaryrefslogtreecommitdiff
path: root/html/display-panel.js
blob: 91b0df7405e354a91613e64e51d6bfe311dbe923 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* Myext display panel logic
*
* Copyright (C) 2021 Wojtek Kosior
*
* Dual-licensed under:
*   - 0BSD license
*   - GPLv3 or (at your option) any later version
*/

"use strict";

(() => {
    const browser = window.browser;

    document.getElementById("settings_but")
	.addEventListener("click", (e) => browser.runtime.openOptionsPage());
})();