first commit
This commit is contained in:
10
templates/instytut_dendrologii_/js/wiadomosci.js
Normal file
10
templates/instytut_dendrologii_/js/wiadomosci.js
Normal file
@@ -0,0 +1,10 @@
|
||||
window.addEventListener('DOMContentLoaded',() => {
|
||||
aklas();
|
||||
})
|
||||
function aklas(){
|
||||
document.querySelectorAll('.aktualno .jt-cs p.readmore a').forEach(links => {
|
||||
var link= links.href;
|
||||
links.closest('.jt-inner').querySelector('.jt-title').href=link;
|
||||
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user