Manualbiome (#11216)

This commit is contained in:
Kashargul
2025-07-21 22:37:45 +02:00
committed by GitHub
parent afa0b4bfdb
commit f39fdae47c
280 changed files with 18208 additions and 17558 deletions

View File

@@ -55,33 +55,32 @@ function filterchanges(type){
}
*/
function dropdowns() {
var drops = $('div.drop');
var indrops = $('div.indrop');
if(drops.length!=indrops.length){
alert("Some coder fucked up with dropdowns");
}
drops.each(function(index){
$(this).toggleClass('closed');
$(indrops[index]).hide();
$(this).click(function(){
$(this).toggleClass('closed');
$(this).toggleClass('open');
$(indrops[index]).toggle();
});
});
var drops = $("div.drop");
var indrops = $("div.indrop");
if (drops.length != indrops.length) {
alert("Some coder fucked up with dropdowns");
}
drops.each(function (index) {
$(this).toggleClass("closed");
$(indrops[index]).hide();
$(this).click(function () {
$(this).toggleClass("closed");
$(this).toggleClass("open");
$(indrops[index]).toggle();
});
});
}
function filterchanges(type){
$('ul.changes li').each(function(){
if(!type || $(this).hasClass(type)){
$(this).show();
}
else {
$(this).hide();
}
});
function filterchanges(type) {
$("ul.changes li").each(function () {
if (!type || $(this).hasClass(type)) {
$(this).show();
} else {
$(this).hide();
}
});
}
$(document).ready(function(){
dropdowns();
});
$(document).ready(function () {
dropdowns();
});