1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

BC fix for expandit() function

This commit is contained in:
Cameron
2013-10-31 17:50:41 -07:00
parent a77246c01b
commit a763ba72d1

View File

@@ -747,9 +747,10 @@ $(document).ready(function()
if($(e).is("a")) if($(e).is("a"))
{ {
var href = $(e).attr("href"); var href = $(e).attr("href");
} }
if(href === "#" || e === null) if(href === "#" || e === null || href === undefined)
{ {
idt = $(e).next("div"); idt = $(e).next("div");