From: Jason Boyer Date: Fri, 24 Sep 2021 18:20:16 +0000 (-0400) Subject: LP1925237: Define $() when jQuery not in use X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=df68e8c88983d928887cff1649710377be6223aa;p=working%2FEvergreen.git 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 --- 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 %]