summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-20 15:46:15 +0000
committerthomascube <thomas@roundcube.net>2012-01-20 15:46:15 +0000
commit071c78c3a4f344f1005c8be8ba895a91452de6b9 (patch)
tree0d63f416cd9d6dc1f9b7e1dd2686e21ec28a3d4d /program/js
parent0b179e0847f5108f31567bc004a61044ebd1aca3 (diff)
Fine tuning Larry styles + browser specific css quirks
Diffstat (limited to 'program/js')
-rw-r--r--program/js/common.js10
1 files changed, 6 insertions, 4 deletions
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;