Browse files

resolve the bug which, if the input area has a width different than 4…

…00px, the dropdown's width, will not fit it and it's bigger or smaller.
  • Loading branch information...
1 parent 2bac4f2 commit 7974458f51bf1d6dd2f9f8e26d2340c7bbd4922c @azinazadi azinazadi committed Nov 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/jquery.tokeninput.js
View
1 src/jquery.tokeninput.js
@@ -632,6 +632,7 @@ $.TokenList = function (input, url_or_data, settings) {
position: "absolute",
top: $(token_list).offset().top + $(token_list).outerHeight(),
left: $(token_list).offset().left,
+ width: $(token_list).width(),
'z-index': 999
})
.show();

0 comments on commit 7974458

Please sign in to comment.