mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(terminal) rm IntersectionObserver handling (xtermjs/xterm.js#1929)
This commit is contained in:
parent
943924adef
commit
7bffaa8cc3
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue