ISMIS Helper: cross-browser build, CI, PDF fixes, Chrome download fix #1
+1
-1
@@ -180,7 +180,7 @@
|
||||
btn.id = BTN_ID;
|
||||
btn.type = 'button';
|
||||
btn.className = 'btn green pull-right';
|
||||
btn.style.marginTop = '10px';
|
||||
btn.style.margin = '10px 0';
|
||||
btn.innerHTML = '<i class="fa fa-download"></i> Download PDF';
|
||||
btn.addEventListener('click', onDownloadPdf);
|
||||
unitsP.insertAdjacentElement('afterend', btn);
|
||||
|
||||
Reference in New Issue
Block a user