1
0
Fork 0

Fix index of remote MCDU

This commit is contained in:
Jonathan Redpath 2021-12-27 12:21:02 +00:00
parent 923b416d84
commit a3f98bfcbd
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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;