Skip to content

Commit

Permalink
Oops, jquery's is and not are not related, my bad
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Feb 8, 2013
1 parent 5595836 commit 63a7728
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ajax-chosen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ajax-chosen.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ajax-chosen.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 63a7728

Please sign in to comment.