Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Listview: Added option for the default list icon #5018

Merged
merged 5 commits into from
Oct 9, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Listview: Added option for the default list icon
Added an option for the default list icon, instead of being hard-coded
to 'arrow-r'
  • Loading branch information
Jason Scott committed Sep 17, 2012
commit a485ae25127d57484b87248cb24e14ddf94356db
3 changes: 2 additions & 1 deletion js/widgets/listview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
countTheme: "c",
headerTheme: "b",
dividerTheme: "b",
indicatorIcon: "arrow-r",
splitIcon: "arrow-r",
splitTheme: "b",
inset: false,
Expand Down Expand Up @@ -211,7 +212,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
shadow: false,
corners: false,
iconpos: "right",
icon: a.length > 1 || icon === false ? false : icon || "arrow-r",
icon: a.length > 1 || icon === false ? false : icon || o.indicatorIcon,
theme: itemTheme
});

Expand Down