1
0
mirror of synced 2024-11-25 14:26:03 +03:00
select2/dist
Kevin Brown 4fc874a3ae Improve jQuery performance issues
This improves a regression added in b9b55cec44
that reduced performance for large number of options when using a
jQuery collection object to append multiple options instead of
using a bare array containing the jQuery elements.

As `$.fn.add` is only required for jQuery 1.7.x, we can use a
utility function that only falls back to it for that specific
version of jQuery, and uses `$.fn.append` with an array for all
other versions.

This closes https://github.com/select2/select2/issues/3230.
2015-04-05 20:08:33 -04:00
..
css Render native select out of screen 2015-04-02 12:01:32 -04:00
js Improve jQuery performance issues 2015-04-05 20:08:33 -04:00