From a3f98bfcbd486a3b6214eae1e34d8159d3174d80 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Mon, 27 Dec 2021 12:21:02 +0000 Subject: [PATCH] Fix index of remote MCDU --- WebPanel/WebPanel1/index.html | 2 +- WebPanel/WebPanel2/js/mcdu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebPanel/WebPanel1/index.html b/WebPanel/WebPanel1/index.html index a6ebb489..cc4b1fdd 100644 --- a/WebPanel/WebPanel1/index.html +++ b/WebPanel/WebPanel1/index.html @@ -99,7 +99,7 @@ } }); blank_src = screen_src; - screen_src = "/screenshot?canvasindex=10&type=png"; + screen_src = "/screenshot?canvasindex=13&type=png"; screen.addEventListener('error', function () { loading = 0; if (scheduled_load) { diff --git a/WebPanel/WebPanel2/js/mcdu.js b/WebPanel/WebPanel2/js/mcdu.js index 11944742..9b89d351 100644 --- a/WebPanel/WebPanel2/js/mcdu.js +++ b/WebPanel/WebPanel2/js/mcdu.js @@ -1,5 +1,5 @@ const MCDU = (function () { - const screenImageBaseUrl = '/screenshot?canvasindex=10&type=jpg'; + const screenImageBaseUrl = '/screenshot?canvasindex=13&type=jpg'; const refreshInterval = 2000; const body = document.body;