summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-20 15:46:15 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-20 15:46:15 +0000
commitb8b008a0270c5ccc0e6a19a7468ff6ea5f1bf278 (patch)
tree1683d229fafdc54110657cafb5613a53e5b3feb9 /roundcubemail/program
parent2685a615bdd43ce3df43496933f76aa14d545cda (diff)
Fine tuning Larry styles + browser specific css quirks
git-svn-id: https://svn.roundcube.net/trunk@5809 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/common.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js
index fc2d10bdd..da158f604 100644
--- a/roundcubemail/program/js/common.js
+++ b/roundcubemail/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;