From 2729d64d3b2f541a5374ce76f336c19100b70fbc Mon Sep 17 00:00:00 2001 From: Gitai Date: Tue, 17 Mar 2020 19:35:31 +0800 Subject: [PATCH] Update console.html --- html/console.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");