]> git.openstreetmap.org Git - rails.git/commitdiff
Remove bs-custom-file-input javascript plugin
authorAnton Khorev <tony29@yandex.ru>
Wed, 8 May 2024 14:47:52 +0000 (17:47 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 8 May 2024 14:47:52 +0000 (17:47 +0300)
app/assets/javascripts/application.js
app/assets/javascripts/bs-custom-file-input-init.js [deleted file]
package.json
yarn.lock

index c71c0652dad9b652dc34caa44e9392d8013a5f91..20976d15a56ff93264d1d81a511c564840517904 100644 (file)
@@ -16,8 +16,6 @@
 //= require matomo
 //= require richtext
 //= require qs/dist/qs
-//= require bs-custom-file-input
-//= require bs-custom-file-input-init
 
 /*
  * Called as the user scrolls/zooms around to manipulate hrefs of the
diff --git a/app/assets/javascripts/bs-custom-file-input-init.js b/app/assets/javascripts/bs-custom-file-input-init.js
deleted file mode 100644 (file)
index 3afdac2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-/* global bsCustomFileInput */
-
-$(document).ready(function () {
-  bsCustomFileInput.init();
-});
index 0a9ebf0b66e4b06678d5ea2709b21ec59581f99a..7d19be0d28bcadc8fd31442278aeda81ee2ffcf2 100644 (file)
@@ -2,7 +2,6 @@
   "name": "openstreetmap",
   "private": true,
   "dependencies": {
-    "bs-custom-file-input": "^1.3.4",
     "jquery-simulate": "^1.0.2",
     "js-cookie": "^3.0.0",
     "leaflet": "^1.8.0",
index f40f5e46bd8e4a54f88fd3bc43593c8b9e8c3b36..0c3bd5c63097296c8e592e6c7262a55f3b98d8a6 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
@@ -134,11 +134,6 @@ brace-expansion@^1.1.7:
     balanced-match "^1.0.0"
     concat-map "0.0.1"
 
-bs-custom-file-input@^1.3.4:
-  version "1.3.4"
-  resolved "https://registry.yarnpkg.com/bs-custom-file-input/-/bs-custom-file-input-1.3.4.tgz#c275cb8d4f1c02ba026324292509fa9a747dbda8"
-  integrity sha512-NBsQzTnef3OW1MvdKBbMHAYHssCd613MSeJV7z2McXznWtVMnJCy7Ckyc+PwxV6Pk16cu6YBcYWh/ZE0XWNKCA==
-
 call-bind@^1.0.7:
   version "1.0.7"
   resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9"