[openstreetmap/openstreetmap-website] Use bootstrap for dropdowns and tooltips (#2524)

Andy Allan notifications at github.com
Wed Jan 29 17:48:54 UTC 2020


gravitystorm commented on this pull request.



> @@ -3,8 +3,8 @@
 //= require jquery.timers
 //= require jquery.cookie
 //= require jquery.throttle-debounce
-//= require bootstrap.tooltip
-//= require bootstrap.dropdown
+//= require popper
+//= require bootstrap-sprockets

I'm just following the [README](https://github.com/twbs/bootstrap-rubygem/blob/ef343b781ca1316ba3953295222578a65bd576c0/README.md#a-ruby-on-rails):

> Bootstrap tooltips and popovers depend on popper.js for positioning. The bootstrap gem already depends on the popper_js gem.

> Add Bootstrap dependencies and Bootstrap to your application.js:

> `//= require jquery3`
> `//= require popper`
> `//= require bootstrap-sprockets`

> While bootstrap-sprockets provides individual Bootstrap components for ease of debugging, you may alternatively require the concatenated bootstrap for faster compilation:

> `//= require jquery3`
> `//= require popper`
> `//= require bootstrap`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2524#discussion_r372535036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200129/9ee91f67/attachment.htm>


More information about the rails-dev mailing list