Prevent accidental too wide chosen boxes

This commit is contained in:
Nathan Gray 2013-06-17 22:01:50 +00:00
parent 5bb349eb7a
commit 5c96c8c986

View File

@ -548,7 +548,7 @@ var et2_selectbox = et2_inputWidget.extend(
{
this.input.attr("data-placeholder", this.options.empty_label);
}
this.input.css("width","100%")
this.input.css("width",this.options.tags ? "100%":'')
.chosen({
})
.change(this.onchange);