Removed duplicates

This commit is contained in:
Robin 2012-01-22 00:10:06 +01:00
parent 9f0ca7cc44
commit 300886da34
3 changed files with 4 additions and 11 deletions

View file

@ -22,9 +22,6 @@
var chat = (function()
{
var ua = navigator.userAgent.toLowerCase();
var isAndroid = ua.indexOf("android") > -1;
var isMobileSafari = ua.indexOf("mobile") > -1;
var bottomMargin = "0px";
var sDuration = 500;
var hDuration = 750;
@ -57,7 +54,7 @@ var chat = (function()
{
$("#focusprotector").hide();
if(isAndroid || isMobileSafari)
if(browser.mobile)
bottommargin = "32px";
$("#chatbox").css({right: "20px", bottom: bottomMargin, left: "", top: ""});