Skip to content

Commit

Permalink
iss123 pdf not loaded jqueryfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrita1991 authored Dec 12, 2024
1 parent feb05cc commit fd66a56
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions shared/locallib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
};

}

Expand Down Expand Up @@ -233,4 +233,4 @@ function setTimeoutNotification(){
notificationpanel.removeChild(notificationpanel.firstChild);
}
}, 10000);
}
}

0 comments on commit fd66a56

Please sign in to comment.