Aaron
Aaron

Reputation: 14049

jQuery Mobile listview not initializing

I have a ul on a page with data-role='listview' however it is not being initialized by jQuery Mobile to be a listview when the page loads normally or thorough jQM's ajax refresh.

If it helps I'm using rails 3 and haml. The line in question is

%ul{:data => {:roll => 'listview', :inset => 'true'}}

I'm using jQuery 1.7.2 and jQuery Mobile 1.1.0.

Upvotes: 0

Views: 166

Answers (1)

Jack
Jack

Reputation: 11003

I'm not so familiar with haml. but should that perhaps be role instead of roll?

Upvotes: 1

Related Questions