diff --git a/plugins/c9.core/util.js b/plugins/c9.core/util.js index 187f2f34..7db76128 100644 --- a/plugins/c9.core/util.js +++ b/plugins/c9.core/util.js @@ -31,7 +31,11 @@ define(function(require, exports, module) { a.rel = "noreferrer"; a.target = "_blank"; a.href = url; + document.body.appendChild(a); a.click(); + setTimeout(function() { + a.remove(); + }); }; var SupportedIcons = (function() {