From 071c78c3a4f344f1005c8be8ba895a91452de6b9 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 20 Jan 2012 15:46:15 +0000 Subject: Fine tuning Larry styles + browser specific css quirks --- program/js/common.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'program/js/common.js') diff --git a/program/js/common.js b/program/js/common.js index fc2d10bdd..da158f604 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -121,14 +121,16 @@ function roundcube_browser() else if (this.konq) classname += ' konqueror'; else if (this.safari) - classname += ' safari'; - - if (this.chrome) classname += ' chrome'; - else if (this.iphone) + else if (this.chrome) + classname += ' chrome'; + + if (this.iphone) classname += ' iphone'; else if (this.ipad) classname += ' ipad'; + else if (this.safari || this.chrome) + classname += ' webkit'; if (document.documentElement) document.documentElement.className += classname; -- cgit v1.2.3