From 0fab3f38533ec816b98fbc2630f58ddf7c950d15 Mon Sep 17 00:00:00 2001 From: TheEmeraldStarr <46467239+Epicloudygamer@users.noreply.github.com> Date: Fri, 11 Sep 2020 13:29:31 -0700 Subject: [PATCH] updated games --- public/assets/js/games.js | 4 ++++ public/g.html | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 public/assets/js/games.js diff --git a/public/assets/js/games.js b/public/assets/js/games.js new file mode 100644 index 00000000..99b2f660 --- /dev/null +++ b/public/assets/js/games.js @@ -0,0 +1,4 @@ +function gsearch() { + var e, t, n, a; + for (e = document.getElementById("gsearchbar").value.toUpperCase(), t = document.getElementById("glist"), a = 0; a < t.querySelectorAll("a[href]").length; a++)(n = t.getElementsByTagName("a")[a]).innerHTML.toUpperCase().indexOf(e) > -1 ? n.style.display = "block" : n.style.display = "none" +} \ No newline at end of file diff --git a/public/g.html b/public/g.html index 490720d3..163cebf7 100644 --- a/public/g.html +++ b/public/g.html @@ -134,6 +134,12 @@
+

HTML5 Games

2048