Skip to content
Snippets Groups Projects
Commit 8d6d10db authored by Vincent Nivoliers's avatar Vincent Nivoliers
Browse files

using setTimeout in save button

parent c5d38bb5
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ function blob_download() {
link.href = generate_blob() ;
document.body.appendChild(link) ;
window.requestAnimationFrame(function () {
setTimeout(function () {
var event ;
if(typeof MouseEvent !== 'function') {
event = document.createEvent("MouseEvent");
......@@ -236,7 +236,7 @@ function blob_download() {
}
link.dispatchEvent(event);
document.body.removeChild(link);
});
}, 66);
}
/* load the saved data */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment