From: Marcel Werk Date: Wed, 17 Apr 2013 00:40:33 +0000 (+0200) Subject: Added global css class for touch devices X-Git-Tag: 2.0.0_Beta_1~332 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd2249deb78f23d698c73cb8ea0f66f52ad8de51;p=GitHub%2FWoltLab%2FWCF.git Added global css class for touch devices --- diff --git a/com.woltlab.wcf/template/headInclude.tpl b/com.woltlab.wcf/template/headInclude.tpl index 24856f4d53..82f114eb32 100644 --- a/com.woltlab.wcf/template/headInclude.tpl +++ b/com.woltlab.wcf/template/headInclude.tpl @@ -92,6 +92,7 @@ {event name='javascriptLanguageImport'} }); + if (jQuery.browser.touch) $('html').addClass('touch'); new WCF.Date.Time(); new WCF.Effect.SmoothScroll(); new WCF.Effect.BalloonTooltip();