diff --git a/coffee/lib/abstract-chosen.coffee b/coffee/lib/abstract-chosen.coffee index 1d252691937..4beb8f6f1fd 100644 --- a/coffee/lib/abstract-chosen.coffee +++ b/coffee/lib/abstract-chosen.coffee @@ -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