crucialfelix/django-ajax-selects — comment on commit e91b17c79f0b0903382863841cb435979dac2cb7
File:  line 0
By sjrd:

The argument `receivedFunction` is not used, and you don't provide it at call site. It should be removed.

The call `$text.autocompletehtml()` is duplicate here, because you call it also in `autocompleteselect()` and `autocompleteselectmultiple()`. It should be removed too. And thus the argument `$text` should be removed as well.

Hence, I would call this function `_setDeckPosition` instead of `_init` (or any other self-explanatory name).

btw, I still don't get why you need this at all. Can't this be achieved in pure CSS in `ajax_select.css`? That would be a lot nicer and a lot more customizable.