Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/empty-style-attr'
Browse files Browse the repository at this point in the history
  • Loading branch information
adunkman committed Apr 11, 2018
2 parents ee36be0 + 7e2feb6 commit 2654f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee/lib/abstract-chosen.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class AbstractChosen

option_el = document.createElement("li")
option_el.className = classes.join(" ")
option_el.style.cssText = option.style
option_el.style.cssText = option.style if option.style
option_el.setAttribute("data-option-array-index", option.array_index)
option_el.innerHTML = option.highlighted_html or option.html
option_el.title = option.title if option.title
Expand Down

0 comments on commit 2654f7d

Please sign in to comment.