From dc36e320ef4d90b0bf802c6b54877971e2249d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 15 Jan 2012 11:12:11 +0100 Subject: Do not load JS for mobile browsers --- templates/root.mako | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/root.mako b/templates/root.mako index b744bbd..19af96e 100644 --- a/templates/root.mako +++ b/templates/root.mako @@ -2,10 +2,12 @@ - <%block name="js"> - - - + % if not w.ctx.is_mobile: + <%block name="js"> + + + + % endif <%block name="title">Kostenverwaltung</%block> <%block name="style"> -- cgit v1.2.3