From dd2249deb78f23d698c73cb8ea0f66f52ad8de51 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 17 Apr 2013 02:40:33 +0200 Subject: [PATCH] Added global css class for touch devices --- com.woltlab.wcf/template/headInclude.tpl | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1