v1.5.12 Added the last things to the preview function, its all working now
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user