1
0
Fork 0

Fix canvas ID in web MCDU

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2023-02-10 23:19:05 +01:00
parent ef7512b4bf
commit 51b63896d9
2 changed files with 4 additions and 4 deletions

View file

@ -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();
}
})();
})();

View file

@ -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();
}
})();
})();