X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a7b7f5d18931f60f4171b7ac410ea4434828dd1..1e15b89f763d103cc33acbf5be21db912c080528:/app/assets/javascripts/application.js?ds=sidebyside diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index e9cc08606..054742126 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -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,10 +106,12 @@ $(document).ready(function () { $("body").removeClass("compact-nav"); $("header").removeClass("text-nowrap"); + $("header nav.secondary > ul").removeClass("flex-nowrap"); updateHeader(); $(window).resize(updateHeader); + $(document).on("turbo:render", updateHeader); }, 0); $("#menu-icon").on("click", function (e) {