mirror of
https://github.com/db48x/emularity.git
synced 2026-07-27 19:56:37 +00:00
fix the workaround for the workaround
An embarrassing error. Thank you @phil-el for finding this and telling me about it!
This commit is contained in:
@@ -770,7 +770,7 @@ var Module = null;
|
||||
e.gamepad.index, e.gamepad.id);
|
||||
});
|
||||
|
||||
if (/archive\.org$/.test(document.location.hostname && document.getElementById("gofullscreen"))) {
|
||||
if (/archive\.org$/.test(document.location.hostname) && document.getElementById("gofullscreen")) {
|
||||
document.getElementById("gofullscreen").addEventListener("click", this.requestFullScreen);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user