1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix clipboard export download button

This commit is contained in:
Nick O'Leary 2019-05-28 16:10:21 +01:00
parent 3b3a2d62f8
commit 109204897f
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -59,7 +59,7 @@ RED.clipboard = (function() {
element.setAttribute('download', "flows.json");
element.style.display = 'none';
document.body.appendChild(element);
element.trigger("click");
element.click();
document.body.removeChild(element);
$( this ).dialog( "close" );
}