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

Commit 4ebf2c7

Browse files
committed
Merge pull request #235 from azinazadi/patch-2
set the real width to the dropdown so that it exactly matches its relate...
2 parents 69fad9d + 6c557c6 commit 4ebf2c7

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
@@ -673,7 +673,7 @@ $.TokenList = function (input, url_or_data, settings) {
673673
position: "absolute",
674674
top: $(token_list).offset().top + $(token_list).outerHeight(),
675675
left: $(token_list).offset().left,
676-
width: $(token_list).width(),
676+
width: $(token_list).outerWidth(),
677677
'z-index': 999
678678
})
679679
.show();

0 commit comments

Comments
 (0)