From 0c1af24dace4b97b74414d5024177b517b479259 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 --- 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 a27be4d4871..6be6e8b8f18 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 ) %] Log in to your account [% ELSE %] - Log in to your account + Log in to your account [% END %] [% END %] [% END %] -- 2.11.0