From e289cabe3fd8ff1d9fd382eca99b2fc0733a1338 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 23 Dec 2018 10:41:33 +0100 Subject: [PATCH] added var --- lam/templates/lib/500_lam.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index 203aa688..4e9c5e18 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -139,8 +139,8 @@ function list_switchAccountSelection() { jQuery('input.accountBoxUnchecked').prop('checked', true); jQuery('input.accountBoxChecked').prop('checked', false); // switch CSS class - nowChecked = jQuery('.accountBoxUnchecked'); - nowUnchecked = jQuery('.accountBoxChecked'); + var nowChecked = jQuery('.accountBoxUnchecked'); + var nowUnchecked = jQuery('.accountBoxChecked'); nowChecked.addClass('accountBoxChecked'); nowChecked.removeClass('accountBoxUnchecked'); nowUnchecked.addClass('accountBoxUnchecked');