Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit c4c3ccd

Browse files
committed
Merge pull request #409 from peterpay/master
fix for jquery 1.8.2 compatibility - dropdown moving to the bottom
2 parents 91551b9 + 65fba63 commit c4c3ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.tokeninput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ $.TokenList = function (input, url_or_data, settings) {
756756
dropdown
757757
.css({
758758
position: "absolute",
759-
top: $(token_list).offset().top + $(token_list).outerHeight(),
759+
top: $(token_list).offset().top + $(token_list).height(),
760760
left: $(token_list).offset().left,
761761
width: $(token_list).width(),
762762
'z-index': $(input).data("settings").zindex

0 commit comments

Comments
 (0)