summaryrefslogtreecommitdiff
path: root/html/display-panel.js
blob: 9bd683c5ae7dfa185b72358c491bf5349a2a3a64 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * Myext display panel logic
 *
 * Copyright (C) 2021 Wojtek Kosior
 * Redistribution terms are gathered in the `copyright' file.
 */

"use strict";

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

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