From afc9db1acf82b97bd53bb3f664c23d2429813d79 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 4 Mar 2020 19:47:26 +0000 Subject: [PATCH] Bug 24803: [Alternate] Clicking "Log in to your account" throws fatal Javascript error 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 --- 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.11.0