mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Use this instead of event.target
The second one differs from where your clicked
This commit is contained in:
parent
f8c2ba051e
commit
6790c9077f
@ -54,7 +54,7 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {};
|
||||
});
|
||||
|
||||
$('.chatToggle').click(function (event) {
|
||||
var element = $(event.target).parent();
|
||||
var element = $(this);
|
||||
var icon = $('img', element);
|
||||
if (element.data('status') == '1') {
|
||||
element.data('status', 0);
|
||||
|
Loading…
Reference in New Issue
Block a user