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

Issue #2049 - Expandit now works on divs with legacy code.

This commit is contained in:
Cameron
2016-11-28 14:14:36 -08:00
parent bc66b9f504
commit 7f27cf5bfd

View File

@@ -1372,12 +1372,14 @@ $(document).ready(function()
} }
else else
{ {
var href = ''; var href = undefined;
} }
if(href === "#" || e === null || href === undefined) if(href === "#" || e === null || href === undefined)
{ {
idt = $(e).next("div"); idt = $(e).next("div");
$(idt).toggle("slow"); $(idt).toggle("slow");
return false; return false;