Skip to content

Commit

Permalink
Don't reset multiple option
Browse files Browse the repository at this point in the history
  • Loading branch information
reu committed Jul 6, 2011
1 parent 7038dd1 commit 4845536
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/double-select.coffee
Expand Up @@ -5,6 +5,8 @@ jQuery ($) ->

$.extend settings, options

this.attr "multiple", true if this.attr "multiple"

wrapper = $("<div></div>").insertBefore(this)
source = $("<select multiple='multiple' />").prependTo(wrapper)
searchBox = $("<input type='text' />").appendTo(wrapper)
Expand Down

0 comments on commit 4845536

Please sign in to comment.