v1.5.12 Added the last things to the preview function, its all working now

This commit is contained in:
2021-04-19 14:42:03 +02:00
parent 493a8aeb34
commit 19fdb63ad2
10 changed files with 73 additions and 19 deletions
@@ -93,11 +93,17 @@
function closeModal() {
modalNews.style.display = "none";
$("#titleEvent").html('');
$("#dateEvent").html('');
$("#descriptionEvent").html('');
}
window.onmousedown = function(event) {
if (event.target == modalNews) {
modalNews.style.display = "none";
$("#titleEvent").html('');
$("#dateEvent").html('');
$("#descriptionEvent").html('');
}
}
</script>