From 0519655613645d58c2aa35ae9d5580d07f8a81f5 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Wed, 25 Jun 2014 13:07:52 -0400 Subject: [PATCH] Bug 12220 - bootstrap not responsive on all devices The bootstrap theme includes a meta tag attribute which disables zooming on some devices. This was unintentional and not desirable. This patch removes the problematic attribute. See: http://blog.javierusobiaga.com/stop-using-the-viewport-tag-until-you-know-ho To test: Apply the patch and view the OPAC on a device with a touch interface. Attempt to zoom in on any OPAC page. Zooming should work. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> --- koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index ab7b4bb..c3e2d83 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -1,7 +1,7 @@ </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" /> [% IF ( bidi ) %] <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap-rtl.min.css" /> -- 2.0.0