1
0
mirror of synced 2024-11-29 16:16:02 +03:00

Merge pull request #1887 from lukinpark/patch-1

Update select2.js
This commit is contained in:
Igor Vaynberg 2013-11-07 10:09:07 -08:00
commit cb5b684ae5

View File

@ -1217,8 +1217,8 @@ the specific language governing permissions and limitations under the Apache Lic
}; };
if (above) { if (above) {
css.bottom = windowHeight - offset.top; css.top = offset.top - dropHeight;
css.top = 'auto'; css.bottom = 'auto';
this.container.addClass("select2-drop-above"); this.container.addClass("select2-drop-above");
$dropdown.addClass("select2-drop-above"); $dropdown.addClass("select2-drop-above");
} }