first commit
This commit is contained in:
12
templates/instytut_dendrologii_/js/video.js
Normal file
12
templates/instytut_dendrologii_/js/video.js
Normal file
@@ -0,0 +1,12 @@
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
vchangelink();
|
||||
})
|
||||
function vchangelink(){
|
||||
document.querySelectorAll('.itemid-473 .jt-readmore').forEach(jt =>
|
||||
{
|
||||
|
||||
var link=jt.href;
|
||||
jt.closest('.slide').querySelector('.jt-title').href=link;
|
||||
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user