From 7bffaa8cc3dcd29dbca0c7c3f35e00f6fdd806db Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 14 Mar 2019 12:20:14 +0200 Subject: [PATCH] fix(terminal) rm IntersectionObserver handling (xtermjs/xterm.js#1929) --- client/modules/terminal.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/modules/terminal.js b/client/modules/terminal.js index 71b793d2..81a5ca89 100644 --- a/client/modules/terminal.js +++ b/client/modules/terminal.js @@ -44,14 +44,11 @@ const loadAll = async () => { Loaded = true; }; -const {IntersectionObserver} = window; - module.exports.init = async () => { if (!config('terminal')) return; Images.show.load('top'); - delete window.IntersectionObserver; await CloudCmd.View(); await loadAll(); @@ -90,7 +87,6 @@ function create() { fontFamily: 'Droid Sans Mono', }; const {socket, terminal} = gritty(document.body, options); - window.IntersectionObserver = IntersectionObserver; Terminal = terminal;