From 072d8a9cd0407142521fac0e62aee639142b80e6 Mon Sep 17 00:00:00 2001
From: gaudyb <85708998+gaudyb@users.noreply.github.com>
Date: Thu, 4 Apr 2024 15:46:03 -0600
Subject: [PATCH] update cookies manager (#96)
---
docsite/_includes/page.njk | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/docsite/_includes/page.njk b/docsite/_includes/page.njk
index 4078a60764..e453fca55c 100644
--- a/docsite/_includes/page.njk
+++ b/docsite/_includes/page.njk
@@ -44,6 +44,18 @@ title: GraphRAG
}
addEventListener("DOMContentLoaded", initialize)
+ addEventListener("DOMContentLoaded", checkCookieManager)
+
+ function checkCookieManager(){
+ if(siteConsent.isConsentRequired){
+ document.getElementById("cookiesManager").style.display = 'block';
+ document.getElementById("divider").style.display = 'block';
+ }
+ else{
+ document.getElementById("cookiesManager").style.display = 'none';
+ document.getElementById("divider").style.display = 'none';
+ }
+ }
function manageConsent() {
if(siteConsent.isConsentRequired){
@@ -141,7 +153,7 @@ title: GraphRAG
Consumer Health Privacy
|
Cookies
- |
+ |
Terms of Use
|
Trademarks