248
Bearbeitungen
Änderungen
keine Bearbeitungszusammenfassung
// Register slideToggle() on each category.
jQuery("div.generated-sidebar.portlet").each(makeOnClick);
makeOnClick.defaultExpanded = false;
function makeOnClick(n) {
"use strict";
if (makeOnClick.defaultExpanded === undefined) {
makeOnClick.defaultExpanded = true;
}
if (makeOnClick.n === undefined) {
makeOnClick.n = 0;
}
if (makeOnClick.n > n) {
n = makeOnClick.n;
}
else {
makeOnClick.n = n;
}
jQuery(this).attr({ "role": "button", "type": "button" });