summaryrefslogtreecommitdiff
path: root/kvmd/web/js/stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r--kvmd/web/js/stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js
index 43b720df..577c6026 100644
--- a/kvmd/web/js/stream.js
+++ b/kvmd/web/js/stream.js
@@ -14,7 +14,7 @@ function Stream() {
var __init__ = function() {
$("stream-led").title = "Stream inactive";
- $("stream-reset-button").onclick = __clickResetButton;
+ tools.setOnClick($("stream-reset-button"), __clickResetButton);
$("stream-resolution-select").onchange = __changeResolution;
$("stream-size-slider").oninput = __resize;
$("stream-size-slider").onchange = __resize;