Fix LED layout Preview (#1813) (#1814)

This commit is contained in:
LordGrey 2024-12-13 22:42:50 +01:00 committed by GitHub
parent 179ee316d0
commit 3e7bc78449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -978,7 +978,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 () {