first commit
This commit is contained in:
11
templates/instytut_dendrologii_/js/mod65.js
Normal file
11
templates/instytut_dendrologii_/js/mod65.js
Normal file
@@ -0,0 +1,11 @@
|
||||
window.addEventListener('load', () => {
|
||||
heightmin();
|
||||
|
||||
|
||||
})
|
||||
function heightmin(){
|
||||
var zaw=document.querySelector('.grid-instytut .okruszki').innerHTML;
|
||||
if(zaw.includes('Zakład') && !zaw.includes('órni') || zaw.includes('partm')){
|
||||
document.querySelector('.grid-instytut').style.setProperty('height','0');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user