Nettoyage commentaire quand on ferme la vidéo
This commit is contained in:
parent
b97b1e04e2
commit
36075dee12
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,7 @@
|
||||||
});
|
});
|
||||||
$('#youtubeModal').on('hidden.bs.modal', function () {
|
$('#youtubeModal').on('hidden.bs.modal', function () {
|
||||||
$(this).find('.modal-body iframe')[0].src = "";
|
$(this).find('.modal-body iframe')[0].src = "";
|
||||||
|
$(this).find('.modal-body p')[0].innerHTML = "";
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#vimeoModal').on('show.bs.modal', function (event) {
|
$('#vimeoModal').on('show.bs.modal', function (event) {
|
||||||
|
@ -293,6 +294,7 @@
|
||||||
});
|
});
|
||||||
$('#vimeoModal').on('hidden.bs.modal', function () {
|
$('#vimeoModal').on('hidden.bs.modal', function () {
|
||||||
$(this).find('.modal-body iframe')[0].src = "";
|
$(this).find('.modal-body iframe')[0].src = "";
|
||||||
|
$(this).find('.modal-body p')[0].innerHTML = "";
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue