From 86adb044acf8b524fd9bc13ee7f7955ca0bb07b1 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 4 Mar 2020 23:56:45 +0000 Subject: [PATCH] Bug 24803: [Alternate patch] bypass Bootstrap click handler by using "#" This patch bypasses Bootstrap's click.modal.data-api event handler for the '[data-toggle="modal"] selector by using a "#" as the "href" 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 a27be4d487..79f6c440a5 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