MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus Open Source Ecology (OSE) Germany - Entwicklungsplattform
| Zeile 4: | Zeile 4: | ||
$(this).parent().parent().next().toggle(500); | $(this).parent().parent().next().toggle(500); | ||
}); | }); | ||
| − | if ( | + | if (initJSFuncts!==undefined) { |
| − | + | for(ijsf=0; ijsf<initJSFuncts.length; ijsf++) { | |
| + | try {initJSFuncts[ijsf]();}catch(e){console.log(e);} | ||
| + | } | ||
} | } | ||
Version vom 22. Februar 2020, 04:05 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
$(".materialRow .showComment").click(function(){
$(this).parent().toggleClass("openComments");
$(this).parent().parent().next().toggle(500);
});
if (initJSFuncts!==undefined) {
for(ijsf=0; ijsf<initJSFuncts.length; ijsf++) {
try {initJSFuncts[ijsf]();}catch(e){console.log(e);}
}
}
