From 6e31b7121f25cf630abc78f700c508798679bae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de> Date: Wed, 5 Apr 2023 16:17:19 +0200 Subject: [PATCH] refs #23640 [finc] restore accidentally deleted variable declaration in account_ajax.js --- themes/finc/js/account_ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/finc/js/account_ajax.js b/themes/finc/js/account_ajax.js index 04cfb8dfeb9..00e90248856 100644 --- a/themes/finc/js/account_ajax.js +++ b/themes/finc/js/account_ajax.js @@ -237,6 +237,7 @@ $(document).ready(function registerAccountAjax() { selector: ".mediareadytopickup-status", ajaxMethod: "getUserMediaReadyToPickup", render: function render($element, status, ICON_LEVELS) { + var level = ICON_LEVELS.NONE; if (status.available > 0) { $element.html('<i class="fa fa-bell text-success" data-toggle="tooltip" title="' + VuFind.translate('mediareadtopickup_tooltip') + '"></i>'); level = ICON_LEVELS.GOOD; -- GitLab