Nettoyage commentaire quand on ferme la vidéo

This commit is contained in:
nyanloutre 2017-07-20 14:12:54 +02:00
parent b97b1e04e2
commit 36075dee12
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063
1 changed files with 2 additions and 0 deletions

View File

@ -280,6 +280,7 @@
});
$('#youtubeModal').on('hidden.bs.modal', function () {
$(this).find('.modal-body iframe')[0].src = "";
$(this).find('.modal-body p')[0].innerHTML = "";
});
$('#vimeoModal').on('show.bs.modal', function (event) {
@ -293,6 +294,7 @@
});
$('#vimeoModal').on('hidden.bs.modal', function () {
$(this).find('.modal-body iframe')[0].src = "";
$(this).find('.modal-body p')[0].innerHTML = "";
});
</script>