Clean up the iframe src on timeout expire

This commit is contained in:
Fabio Manganiello 2018-06-13 20:44:24 +02:00
parent 5a1e77c174
commit 2e08be2886

View file

@ -17,6 +17,7 @@ $(document).ready(function() {
if ('timeout' in event.args) {
setTimeout(function() {
$iframe.removeAttr('src');
$modal.fadeOut();
}, parseFloat(event.args.timeout) * 1000);
}