Skip to content

Commit

Permalink
add a workaround to the workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
db48x committed Nov 9, 2016
1 parent d9f978a commit 8e72207
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{






"creator": "Daniel Brooks <[email protected]>",






"reporter": "Daniel Brooks <[email protected]>",






"severity": "serious",






"status": "fixed",






"summary": "workaround for the workaround",






"time": "Wed, 09 Nov 2016 18:34:58 +0000"






}
2 changes: 1 addition & 1 deletion loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ var Module = null;
e.gamepad.index, e.gamepad.id);
});

if (/archive\.org$/.test(document.location.hostname)) {
if (/archive\.org$/.test(document.location.hostname && document.getElementById("gofullscreen"))) {

This comment has been minimized.

Copy link
@phil-el

phil-el Mar 17, 2017

isn't the test call closing parentheses misplaced?

This comment has been minimized.

Copy link
@db48x

db48x Mar 18, 2017

Author Owner

Oh wow, that's rather embarrassing.

document.getElementById("gofullscreen").addEventListener("click", this.requestFullScreen);
}

Expand Down

0 comments on commit 8e72207

Please sign in to comment.