mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Userclass-tree JS fix.
This commit is contained in:
parent
d404081ce6
commit
56a9a2a320
@ -645,11 +645,13 @@ $(document).ready(function()
|
||||
|
||||
function expandit(e) {
|
||||
|
||||
|
||||
var href = ($(e).is("a")) ? $(e).attr("href") : '';
|
||||
|
||||
|
||||
if(href === "#" || href == "")
|
||||
// var href = ($(e).is("a")) ? $(e).attr("href") : '';
|
||||
if($(e).is("a"))
|
||||
{
|
||||
var href = $(e).attr("href");
|
||||
}
|
||||
|
||||
if(href === "#" || e === null)
|
||||
{
|
||||
idt = $(e).next("div");
|
||||
|
||||
@ -658,6 +660,8 @@ $(document).ready(function()
|
||||
}
|
||||
|
||||
var id = "#" + e;
|
||||
|
||||
|
||||
$(id).toggle("slow");
|
||||
return false;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user