added var

This commit is contained in:
Roland Gruber 2018-12-23 10:41:33 +01:00
parent 5a6ee994cb
commit e289cabe3f
1 changed files with 2 additions and 2 deletions

View File

@ -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');