webui: more handlers typings

This commit is contained in:
Maxim Prokhorov
2024-07-02 18:41:29 +03:00
parent 28c748e393
commit 585efd2cba
6 changed files with 164 additions and 89 deletions

View File

@@ -8,7 +8,7 @@ import {
} from './template.mjs';
import {
showPanel,
onPanelTargetClick,
showPanelByName,
styleInject,
styleVisible,
@@ -358,7 +358,7 @@ export function init() {
variableListeners(listeners());
document.querySelector(".button-emon-expected")
.addEventListener("click", showPanel);
.addEventListener("click", onPanelTargetClick);
document.querySelector(".button-emon-expected-calculate")
.addEventListener("click", emonCalculateRatios);
document.querySelector(".button-emon-expected-apply")