Take it easier with the focus stealing.

This commit is contained in:
2021-03-07 21:59:26 +01:00
parent 7243fbb705
commit d6a1d42935
-3
View File
@@ -46,10 +46,7 @@ document.addEventListener("DOMContentLoaded", function() {
// this is to work around etherpad grabbing focus. // this is to work around etherpad grabbing focus.
var element = document.getElementById("mini-cli"); var element = document.getElementById("mini-cli");
setTimeout( function() { element.focus() }, 1000 ); setTimeout( function() { element.focus() }, 1000 );
setTimeout( function() { element.focus() }, 2000 );
setTimeout( function() { element.focus() }, 3000 ); setTimeout( function() { element.focus() }, 3000 );
setTimeout( function() { element.focus() }, 4000 );
setTimeout( function() { element.focus() }, 5000 );
}); });
function processSettings(args){ function processSettings(args){