diff --git a/js/index.js b/js/index.js index 289e8444..10319905 100644 --- a/js/index.js +++ b/js/index.js @@ -62,8 +62,8 @@ function connect() { rfb.addEventListener("connect", connectedToServer); rfb.addEventListener("disconnect", disconnectedFromServer); - // Scale our viewport so the user doesn't have to scroll - rfb.scaleViewport = true; + // Resize our viewport so the user doesn't have to scroll + rfb.resizeSession = true; // Use a CSS variable to set background color rfb.background = "var(--jupyter-medium-dark-grey)"; diff --git a/tests/reference/desktop.png b/tests/reference/desktop.png index 120064a1..007d8282 100644 Binary files a/tests/reference/desktop.png and b/tests/reference/desktop.png differ