From 51b63896d98fc138e82b6aeebefec705c94cc22c Mon Sep 17 00:00:00 2001 From: fly Date: Fri, 10 Feb 2023 23:19:05 +0100 Subject: [PATCH] Fix canvas ID in web MCDU Signed-off-by: fly --- WebPanel/WebPanel2/js/mcdu.js | 4 ++-- WebPanel/js/mcdu.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WebPanel/WebPanel2/js/mcdu.js b/WebPanel/WebPanel2/js/mcdu.js index 49e880f7..7fd374d2 100644 --- a/WebPanel/WebPanel2/js/mcdu.js +++ b/WebPanel/WebPanel2/js/mcdu.js @@ -1,5 +1,5 @@ const MCDU = (function () { - const screenImageBaseUrl = '/screenshot?canvasindex=13&type=jpg'; + const screenImageBaseUrl = '/screenshot?canvasindex=15&type=jpg'; const refreshInterval = 2000; const body = document.body; @@ -182,4 +182,4 @@ const MCDU = (function () { event.preventDefault(); event.target.click(); } -})(); \ No newline at end of file +})(); diff --git a/WebPanel/js/mcdu.js b/WebPanel/js/mcdu.js index af95831d..5df78af0 100644 --- a/WebPanel/js/mcdu.js +++ b/WebPanel/js/mcdu.js @@ -1,5 +1,5 @@ const MCDU = (function () { - const screenImageBaseUrl = '/screenshot?canvasindex=13&type=jpg'; + const screenImageBaseUrl = '/screenshot?canvasindex=15&type=jpg'; const refreshInterval = 2000; const body = document.body; @@ -163,4 +163,4 @@ const MCDU = (function () { event.preventDefault(); event.target.click(); } -})(); \ No newline at end of file +})();