mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
BC fix for expandit() function
This commit is contained in:
@@ -742,17 +742,18 @@ $(document).ready(function()
|
||||
|
||||
|
||||
function expandit(e) {
|
||||
|
||||
|
||||
// var href = ($(e).is("a")) ? $(e).attr("href") : '';
|
||||
if($(e).is("a"))
|
||||
{
|
||||
var href = $(e).attr("href");
|
||||
|
||||
}
|
||||
|
||||
if(href === "#" || e === null)
|
||||
if(href === "#" || e === null || href === undefined)
|
||||
{
|
||||
idt = $(e).next("div");
|
||||
|
||||
|
||||
$(idt).toggle("slow");
|
||||
return false;;
|
||||
}
|
||||
|
Reference in New Issue
Block a user