Commit 5caa9898 authored by Clement Ho's avatar Clement Ho

Use to toggle the dropdown

parent 7d070129
...@@ -424,7 +424,7 @@ function UsersSelect(currentUser, els) { ...@@ -424,7 +424,7 @@ function UsersSelect(currentUser, els) {
if ($dropdown.data('max-select') && if ($dropdown.data('max-select') &&
getSelected().length === $dropdown.data('max-select')) { getSelected().length === $dropdown.data('max-select')) {
// Close the dropdown // Close the dropdown
this.el.click(); $dropdown.dropdown('toggle');
this.hidden(); this.hidden();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment