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:
parent
3b3a2d62f8
commit
109204897f
@ -59,7 +59,7 @@ RED.clipboard = (function() {
|
|||||||
element.setAttribute('download', "flows.json");
|
element.setAttribute('download', "flows.json");
|
||||||
element.style.display = 'none';
|
element.style.display = 'none';
|
||||||
document.body.appendChild(element);
|
document.body.appendChild(element);
|
||||||
element.trigger("click");
|
element.click();
|
||||||
document.body.removeChild(element);
|
document.body.removeChild(element);
|
||||||
$( this ).dialog( "close" );
|
$( this ).dialog( "close" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user