made sure icons aren't present in horizontal groups

This commit is contained in:
scottjehl 2010-10-05 17:12:54 -04:00
parent f1403fbfc4
commit 4a7b7a0b2e

View file

@ -18,7 +18,7 @@ $.fn.customCheckboxRadio = function(options){
},options);
// get the associated label using the input's id
var label = $('label[for='+input.attr('id')+']').buttonMarkup({iconpos: o.icon ? 'left' : '', icon: o.uncheckedicon, shadow: false});
var label = $('label[for='+input.attr('id')+']').buttonMarkup({iconpos: o.icon ? 'left' : '', icon: o.icon ? o.uncheckedicon : null, shadow: false});
var icon = label.find('.ui-icon');