From 780b5999c1329ae0ae5dfebd2145b222e8c27c9d Mon Sep 17 00:00:00 2001
From: Austin Anderson <angerson@google.com>
Date: Mon, 22 May 2023 18:59:41 -0700
Subject: [PATCH] Fix incorrect click handler target

---
 tf_oss_dashboard/script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tf_oss_dashboard/script.js b/tf_oss_dashboard/script.js
index b041c78..3e1ed3f 100644
--- a/tf_oss_dashboard/script.js
+++ b/tf_oss_dashboard/script.js
@@ -171,7 +171,7 @@ $(function () {
   if (location.hostname !== "" && !Cookies.get("tf-cookies-accepted")) {
     $(".tf-cookie-warning").removeClass("d-none")
   }
-  $(".tf-cookie-warning").click(function() {
+  $("#tf-accept-cookies").click(function() {
     $(this).addClass("d-none")
     Cookies.set("tf-cookies-accepted", true)
   })
-- 
GitLab