From df68e8c88983d928887cff1649710377be6223aa Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 24 Sep 2021 14:20:16 -0400 Subject: [PATCH] LP1925237: Define $() when jQuery not in use There are enough places that we enjoy the brvty of $() that it needs to be defined even if jQuery isn't available. Signed-off-by: Jason Boyer --- Open-ILS/src/templates/opac/parts/js.tt2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2 index aa4e9f54da..412bdf6691 100644 --- a/Open-ILS/src/templates/opac/parts/js.tt2 +++ b/Open-ILS/src/templates/opac/parts/js.tt2 @@ -4,6 +4,12 @@ [% IF ctx.want_jquery || ctx.readonly %] +[% ELSE %] + [% END; # ctx.want_jquery %] [% IF ctx.readonly %] -- 2.11.0