Firefox fixes nr. 2
This commit is contained in:
parent
d2903f5606
commit
4170874f3d
|
@ -28,14 +28,9 @@ export class PlatformWrapperImplBrowser extends PlatformWrapperInterface {
|
||||||
this.embedProvider.iframed = true;
|
this.embedProvider.iframed = true;
|
||||||
this.embedProvider.iogLink = false;
|
this.embedProvider.iogLink = false;
|
||||||
|
|
||||||
window.addEventListener(
|
logger.log("Running focus-fix automatically");
|
||||||
"mousedown",
|
window.focus();
|
||||||
() => {
|
setInterval(() => window.focus(), 1000);
|
||||||
console.log("Firefox fix: focusing window");
|
|
||||||
window.focus();
|
|
||||||
},
|
|
||||||
true
|
|
||||||
);
|
|
||||||
|
|
||||||
switch (providerId) {
|
switch (providerId) {
|
||||||
case "armorgames": {
|
case "armorgames": {
|
||||||
|
|
Reference in New Issue