From 3a22d897b4b23e2cdede7945b684dc9de9837438 Mon Sep 17 00:00:00 2001 From: max-m Date: Sun, 18 Mar 2012 20:05:05 +0100 Subject: [PATCH] Closes #4 --- file/js/be.bastelstu.WCF.Chat.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/be.bastelstu.WCF.Chat.coffee b/file/js/be.bastelstu.WCF.Chat.coffee index 8ca8ea8..059970e 100644 --- a/file/js/be.bastelstu.WCF.Chat.coffee +++ b/file/js/be.bastelstu.WCF.Chat.coffee @@ -275,7 +275,7 @@ consoleMock ?= # Disable scrolling automagically when user manually scrolled unless @oldScrollTop is null if $('.timsChatMessageContainer').scrollTop() < @oldScrollTop - if $('#timsChatAutoscroll').data 'status' is 1 + if $('#timsChatAutoscroll').data('status') is 1 $('#timsChatAutoscroll').click() $('#timsChatAutoscroll').parent().addClass('default').fadeOut('slow').fadeIn('slow')