first commit
This commit is contained in:
15
templates/instytut_dendrologii_/js/mod47.js
Normal file
15
templates/instytut_dendrologii_/js/mod47.js
Normal file
@@ -0,0 +1,15 @@
|
||||
window.addEventListener('load', () => {
|
||||
profColno();
|
||||
})
|
||||
function profColno(){
|
||||
if(screen.width<1001){
|
||||
document.querySelectorAll('.prof-col').forEach(prof => {
|
||||
|
||||
if(prof.innerHTML.length<=38){
|
||||
|
||||
prof.style.setProperty('display','none');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user