deactivated close feedback on outside click of modal

pull/1/head
alexanderroese 2024-06-01 22:32:49 +02:00
parent f452b8bb9b
commit a92d997092
1 changed files with 2 additions and 3 deletions

View File

@ -5,9 +5,7 @@
<div id="SHX-feedback-modal">
<div id="SHX-feedback-modal-content">
<div
{% comment %}
onclick="SHX_closeFeedbackModal()"
{% endcomment %}
style="position: absolute; top: 0; right: 0; cursor: pointer; padding: 15px; z-index: 10005;">
<svg
xmlns="http://www.w3.org/2000/svg"
@ -254,11 +252,12 @@
// Close the modal when the user clicks anywhere outside of the modal
/*
window.onclick = function (event) {
if (event.target == document.getElementById('SHX-feedback-modal')) {
SHX_closeFeedbackModal();
}
};
}; */
function SHX_getHTMLObjectHeight(element) {
// Clone the element