From 2e08be2886bbc2120c77dd9954842a81e1a694a8 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 13 Jun 2018 20:44:24 +0200 Subject: [PATCH] Clean up the iframe src on timeout expire --- platypush/backend/http/static/js/dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/backend/http/static/js/dashboard.js b/platypush/backend/http/static/js/dashboard.js index 274cfa839..63b262189 100644 --- a/platypush/backend/http/static/js/dashboard.js +++ b/platypush/backend/http/static/js/dashboard.js @@ -17,6 +17,7 @@ $(document).ready(function() { if ('timeout' in event.args) { setTimeout(function() { + $iframe.removeAttr('src'); $modal.fadeOut(); }, parseFloat(event.args.timeout) * 1000); }