[openstreetmap/openstreetmap-website] Remove bs-custom-file-input javascript plugin (PR #4772)

Anton Khorev notifications at github.com
Wed May 8 14:51:55 UTC 2024


That was a [Bootstrap 4 plugin](https://getbootstrap.com/docs/4.6/components/forms/#file-browser). Bootstrap 5 docs [no longer recommend it](https://getbootstrap.com/docs/5.3/forms/form-control/#file-input). It doesn't do anything because there are no inputs matching [its selector](https://github.com/Johann-S/bs-custom-file-input/blob/a4cb893188f06e94c811bac1e5c3682bb4b0e459/src/selector.js#L2).
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4772

-- Commit Summary --

  * Remove bs-custom-file-input javascript plugin

-- File Changes --

    M app/assets/javascripts/application.js (2)
    D app/assets/javascripts/bs-custom-file-input-init.js (5)
    M package.json (1)
    M yarn.lock (5)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4772.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4772.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4772
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4772 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240508/237c8306/attachment.htm>


More information about the rails-dev mailing list