Page 1 of 1

ListItem Issue

Posted: Tue Jun 17, 2014 2:08 pm
by Roger

I have been using the following code for about a year. If I use the iOS7 theme the data icon is appearing when it should not. I believe the element.next().remove() should take care of that but it no longer works.

Any ideas?

if (value == 'true'){
var listItem = element.parent();
listItem.attr('data-role', 'list-divider');
listItem.attr('role', 'heading');

listItem.removeClass();
listItem.addClass('mobilelistitem1 ui-li ui-li-divider ui-bar-b');

element.next().remove();
}


ListItem Issue

Posted: Tue Jun 17, 2014 2:53 pm
by Kateryna Grynko

Hi Roger,

Add the following CSS:pre.hide-icon:after{
display:none;
}/preThen add a class "hide-icon" to a list item.