From 4ccdac035fde938b4730942e2034ef965e5ad0dd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 4 Mar 2020 19:47:26 +0000 Subject: [PATCH] Bug 24803: Remove JS error when clicking "Log in to your account" This patch removes the "data-toggle" attribute from the login link in order to avoid a JavaScript error. Since we have a custom click handler to trigger the modal we don't need Bootstrap's "automatic" modal handling. Test plan: 1. Apply patch 2. Open F12 dev tools 3. Click "Log in to your account" on OPAC 4. Observe no Javascript errors in console Signed-off-by: David Cook Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index a27be4d487..6be6e8b8f1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -102,7 +102,7 @@ [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] [% ELSE %] - + [% END %] [% END %] [% END %] -- 2.20.1