Permalink
Browse files

Oops, jquery's `is` and `not` are not related, my bad

  • Loading branch information...
1 parent 5595836 commit 63a7728e5a52d746078b7a6face80f9116a16138 @fredwu fredwu committed Feb 8, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/ajax-chosen.js
  2. +1 −1 lib/ajax-chosen.min.js
  3. +1 −1 src/ajax-chosen.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -81,7 +81,7 @@ do ($ = jQuery) ->
# by the user, add them to a list to filter from the results later.
selected_values = []
select.find('option').each ->
- if $(@).not(":selected")
+ if not $(@).is(":selected")
$(@).remove()
else
selected_values.push $(@).val() + "-" + $(@).text()

0 comments on commit 63a7728

Please sign in to comment.