firefox doesn't open the link if it's not in document

pull/389/head
nightwing 2016-12-20 20:56:44 +00:00
rodzic a424038df9
commit e5145a715f
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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() {