Fix imagestream update

This commit is contained in:
LordGrey 2024-05-30 19:27:24 +02:00
parent 5897e24316
commit 31321411ad

View File

@ -977,7 +977,7 @@ $(document).ready(function () {
//Only update Image, if LED Layout Tab is visible
if (onLedLayoutTab && window.imageStreamActive) {
setClassByBool('#leds_prev_toggle_live_video', window.imageStreamActive, "btn-danger", "btn-success");
var imageData = (event.response.result.image);
var imageData = (event.response.data.image);
var image = new Image();
image.onload = function () {