Skip to content

Commit

Permalink
Fix "Link to download" select box
Browse files Browse the repository at this point in the history
Using the "text" property as a placeholder for the download select was
breaking the selection of the first item in the list. This is a labeled
select box so a placeholder value was not necessary anyway.

#223
  • Loading branch information
northerner committed Jan 11, 2021
1 parent 58a8202 commit 3e4090e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
downloadItemCtrl = {
name: "downloadSlug",
type: "listbox",
text: "Choose download",
label: "Link to this download",
values: window.MemberfulData.downloads.map(function(x) { return {text: x.name, value: x.slug} })
};
Expand Down

0 comments on commit 3e4090e

Please sign in to comment.