hiroprotagonist / jquery.mobile.actionsheet

An actionsheet for jquerymobile
103 stars 34 forks source link

Converts non buttons into buttons #25

Open justechn opened 12 years ago

justechn commented 12 years ago

I am trying to use actionsheets with a split list, but it is converting the lists into buttons. This messes up the look. Is their a way to apply an action sheet without it converting the link to a button?

justechn commented 12 years ago

I found the answer. If I comment out this code

if( this.element.parents( ':jqmData(role="content")' ).length !== 0 ) { this.element.buttonMarkup(); }

then the split list looks normal. However it would be nice if this were configurable.

hiroprotagonist commented 12 years ago

Agree! Will add a config switch soon.