mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix Terminal focus bug
This commit is contained in:
@ -243,7 +243,7 @@ my $term_script = <<EOF;
|
|||||||
term.loadAddon(fitAddon);
|
term.loadAddon(fitAddon);
|
||||||
term.loadAddon(rendererAddon);
|
term.loadAddon(rendererAddon);
|
||||||
term.open(termcont);
|
term.open(termcont);
|
||||||
term.focus();
|
setTimeout(function() {term.focus()}, 333)
|
||||||
|
|
||||||
// Handle case of dropping WebGL context
|
// Handle case of dropping WebGL context
|
||||||
if (typeof WebglAddon === 'object') {
|
if (typeof WebglAddon === 'object') {
|
||||||
|
Reference in New Issue
Block a user