]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Convert richtext edit/preview buttons into tabs
[rails.git] / app / assets / javascripts / application.js
index c71c0652dad9b652dc34caa44e9392d8013a5f91..05474212645361fd975d3a0e188edbe1c4bdae81 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
@@ -108,6 +106,7 @@ $(document).ready(function () {
     $("body").removeClass("compact-nav");
 
     $("header").removeClass("text-nowrap");
+    $("header nav.secondary > ul").removeClass("flex-nowrap");
 
     updateHeader();