Merge pull request #14 from gusreiber/jmr-31162

Fixing radio reset bug
This commit is contained in:
Manuel Recena committed 2016-03-22 18:51:59 +01:00
commit 36459fb1cc
1 file changed
+1
+1
View File
@@ -327,6 +327,7 @@ $.when(getItems(jRoot)).done(function(data){
}
var $this = $(this).closest('li');
var $radios = $this.closest('.categories').find('input[type="radio"][name="mode"]').removeAttr('checked');
//if this is a hyperlink, don't move the selection.
if($this.find('a:focus').length === 1) {return false;}
$this.closest('.categories').find('.active').removeClass('active');