Clean up the iframe src on timeout expire
This commit is contained in:
parent
5a1e77c174
commit
2e08be2886
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ $(document).ready(function() {
|
|||
|
||||
if ('timeout' in event.args) {
|
||||
setTimeout(function() {
|
||||
$iframe.removeAttr('src');
|
||||
$modal.fadeOut();
|
||||
}, parseFloat(event.args.timeout) * 1000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue