mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-24 18:27:10 +02:00
1 line
269 B
JavaScript
Vendored
1 line
269 B
JavaScript
Vendored
window.appendToElement=function(e,t){var n=document.getElementById(e),a=n.querySelector('input[value="'.concat(t,'"]'));if(a)return a.remove();var r=document.createElement("INPUT");r.setAttribute("name","file_hash[]"),r.setAttribute("value",t),r.hidden=!0,n.append(r)}; |