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: ""});