1
0
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:
Cameron 2012-12-15 18:07:29 -08:00
parent d404081ce6
commit 56a9a2a320

View File

@ -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;
};