From c0a0687fe9e06180cb693a2ac05a5077a20da3b4 Mon Sep 17 00:00:00 2001 From: Robin Date: Sun, 22 Jan 2012 13:09:10 +0100 Subject: [PATCH] It was definetely too late --- static/js/chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/chat.js b/static/js/chat.js index 5cae5919..71cd0c69 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -27,7 +27,7 @@ var chat = (function() var hDuration = 750; var chatMentions = 0; var title = document.title; - if (isAndroid || isMobileSafari){ + if ($.browser.mobile){ sDuration = 0; hDuration = 0; } @@ -54,7 +54,7 @@ var chat = (function() { $("#focusprotector").hide(); - if(browser.mobile) + if($.browser.mobile) bottommargin = "32px"; $("#chatbox").css({right: "20px", bottom: bottomMargin, left: "", top: ""});