mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-20 06:10:59 +00:00
made sure icons aren't present in horizontal groups
This commit is contained in:
parent
f1403fbfc4
commit
4a7b7a0b2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue