kopia lustrzana https://github.com/c9/core
firefox doesn't open the link if it's not in document
rodzic
a424038df9
commit
e5145a715f
|
@ -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() {
|
||||
|
|
Ładowanie…
Reference in New Issue