summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/default.html.ep')
-rw-r--r--templates/layouts/default.html.ep3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 6d3b9f9..7e89c5f 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -10,7 +10,8 @@
%= stylesheet '/static/default.css'
-% if ($self->browser->mobile) {
+% my $force_mobile = param('force_mobile') // -1;
+% if ($force_mobile == 1 or ($self->browser->mobile and $force_mobile != 0)) {
%= stylesheet '/static/mobile.css'
% }
%= javascript '/static/jquery-1.10.2.min.js'