Commit e90ae15c authored by davidstutz's avatar davidstutz
parents 8a6d7baa 332831e9
...@@ -1144,6 +1144,9 @@ ...@@ -1144,6 +1144,9 @@
if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) { if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) {
this.disable(); this.disable();
} }
else {
this.enable();
}
if (this.options.dropRight) { if (this.options.dropRight) {
this.$ul.addClass('pull-right'); this.$ul.addClass('pull-right');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment