Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure select2 is initialized regardless of page load events
Previously, select2 was only loaded successfully, if first the page was loaded (turbolinks:load) and then all select2 locales (select2:locales:loaded). However, if the order was different, select2 wouldn't be initialized. Fixes #1476
- Loading branch information