From 071c78c3a4f344f1005c8be8ba895a91452de6b9 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 20 Jan 2012 10:46:15 -0500 Subject: [PATCH] Fine tuning Larry styles + browser specific css quirks --- program/js/common.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/program/js/common.js b/program/js/common.js index fc2d10b..da158f6 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -121,14 +121,16 @@ 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; -- Gitblit v1.9.1