1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Fixes #951 - Chatbox and emote issues.

This commit is contained in:
Cameron
2015-04-05 09:27:57 -07:00
parent 0ac9b1e045
commit cba7be2a46
4 changed files with 34 additions and 14 deletions

View File

@@ -808,14 +808,20 @@ $(document).ready(function()
function expandit(e) {
// var href = ($(e).is("a")) ? $(e).attr("href") : '';
if($(e).is("a"))
{
var href = $(e).attr("href");
}
else
{
var href = '';
}
if(href === "#" || e === null || href === undefined)
{
idt = $(e).next("div");
@@ -824,8 +830,9 @@ $(document).ready(function()
return false;
}
var id = "#" + e;
var id = "#" + e;
$(id).toggle("slow");
return false;