diff options
author | Maxim Devaev <[email protected]> | 2024-03-24 23:46:21 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-03-24 23:46:21 +0200 |
commit | 1d48ba0a5a4f347321f7f46cd0fe317e3c87d3df (patch) | |
tree | 859646496a3e52c346c079eb16acdf7ef0a657ad /web/share | |
parent | 611a138b423c1d9a95dce67da91dcf8188bd3ef5 (diff) |
screenshot and reset stream buttons are always active
Diffstat (limited to 'web/share')
-rw-r--r-- | web/share/js/kvm/stream.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index 392b54a0..202379d7 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -216,15 +216,11 @@ export function Streamer() { var __setActive = function() { $("stream-led").className = "led-green"; $("stream-led").title = "Stream is active"; - tools.el.setEnabled($("stream-screenshot-button"), true); - tools.el.setEnabled($("stream-reset-button"), true); }; var __setInactive = function() { $("stream-led").className = "led-gray"; $("stream-led").title = "Stream inactive"; - tools.el.setEnabled($("stream-screenshot-button"), false); - tools.el.setEnabled($("stream-reset-button"), false); }; var __setInfo = function(is_active, online, text) { @@ -288,7 +284,7 @@ export function Streamer() { var __clickScreenshotButton = function() { let el = document.createElement("a"); - el.href = "/api/streamer/snapshot?allow_offline=1"; + el.href = "/api/streamer/snapshot"; el.target = "_blank"; document.body.appendChild(el); el.click(); |