first commit
This commit is contained in:
20
templates/instytut_dendrologii_/js/mod55.js
Normal file
20
templates/instytut_dendrologii_/js/mod55.js
Normal file
@@ -0,0 +1,20 @@
|
||||
window.addEventListener('load', () => {
|
||||
|
||||
bicpicons1();
|
||||
})
|
||||
|
||||
function bicpicons1() {
|
||||
|
||||
document.querySelector('.printbip').addEventListener('click', () => {
|
||||
var artykulbip = document.querySelector('.grid-bip .com-content-article').innerHTML;
|
||||
|
||||
var pr=window.open('', '', 'height=400,width=800');
|
||||
pr.document.write(artykulbip);
|
||||
pr.document.close();
|
||||
pr.print();
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user