diff --git a/html/console.html b/html/console.html index 03444b9..187c8f3 100644 --- a/html/console.html +++ b/html/console.html @@ -100,7 +100,7 @@ ); }); - $(".fullscreen-control").addEventListener("click", function(e) { + $(".fullscreen-control")[0].addEventListener("click", function(e) { e.preventDefault(); var fbc = this.parentNode.classList; fbc[fbc.contains("full") ? "remove" : "add"].call(fbc, "full");