From 9d8336b09c7b8f20425949d6f2e75bf26481a9d4 Mon Sep 17 00:00:00 2001
From: Amrita Deb Dutta <amritad1991@gmail.com>
Date: Thu, 12 Dec 2024 08:29:29 +0100
Subject: [PATCH] iss123 pdf not loaded jqueryfix

---
 shared/locallib.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/shared/locallib.js b/shared/locallib.js
index 19ac669..e260d8f 100644
--- a/shared/locallib.js
+++ b/shared/locallib.js
@@ -68,18 +68,18 @@ function addDropdownNavigation(Y, __capabilities, __cmid) {
     overviewtab.addEventListener("mouseleave", function () {
         setTimeout(function () {
             if (!mouseOverDropdownContent) {
-                $('#pdfannotator_dropdownnav').removeClass('show');
+                document.getElementById('pdfannotator_dropdownnav').classList.remove('show');
             }
         }, 0);
     });
 
-    $('#pdfannotator_dropdownnav').mouseenter(function () {
+    document.getElementById('pdfannotator_dropdownnav').onmouseenter = function(){
         mouseOverDropdownContent = true;
-    });
-    $('#pdfannotator_dropdownnav').mouseleave(function () {
-        $('#pdfannotator_dropdownnav').removeClass('show');
+    };
+    document.getElementById('pdfannotator_dropdownnav').onmouseleave = function(){
+        document.getElementById('pdfannotator_dropdownnav').classList.remove('show');
         mouseOverDropdownContent = false;
-    });
+    };
 
 }
 
@@ -233,4 +233,4 @@ function setTimeoutNotification(){
             notificationpanel.removeChild(notificationpanel.firstChild);
         } 
     }, 10000);
-}
\ No newline at end of file
+}
-- 
GitLab