ivaynberg/select2 — pull request #197 by Lightw3ight (2012-07-08 22:41:45+00:00)
Title: Made dropdown respect available space

Updated positioning logic of dropdown so that it will appear above the
input box
a) if it wont fit under the input box
b) if it will fit above the input box

also added new CSS class that is applied to the drow down if it is
rendered above the inout box

2nd attempt at a pull request, for some reason, using gitHub for windows, every line was marked as updated by me, this time i just used the edit function of the website to add my code