1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Debug Backtrace working again.

This commit is contained in:
Cameron
2012-12-06 14:16:55 -08:00
parent cb9af73de1
commit 367ec69c62
5 changed files with 34 additions and 18 deletions

View File

@@ -31,6 +31,12 @@ $(document).ready(function()
$(".e-expandit").click(function () {
var href = ($(this).is("a")) ? $(this).attr("href") : '';
if(href == '' && $(this).attr("data-target"))
{
href = $(this).attr("data-target");
}
if(href === "#" || href == "")
{
@@ -38,9 +44,10 @@ $(document).ready(function()
$(idt).toggle("slow");
return true;
}
var id = $(this).attr("href");
$(id).toggle("slow");
//var id = $(this).attr("href");
$('#'+href).toggle("slow");
return false;
});
@@ -612,6 +619,7 @@ $(document).ready(function()
if(href === "#" || href == "")
{
idt = $(e).next("div");
$(idt).toggle("slow");
return false;;
}