X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/afc8dad0b6fb046e7fddf382879cddd99c2e4f78..a7ba87340d91a6eeef096783b04a9b0a963bfa99:/app/assets/javascripts/application.js?ds=inline diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 5bfe86b86..0bfff869e 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -103,6 +103,8 @@ $(document).ready(function () { $("body").removeClass("compact-nav"); + $("header").removeClass("text-nowrap"); + updateHeader(); $(window).resize(updateHeader); @@ -124,6 +126,7 @@ $(document).ready(function () { I18n.fallbacks = true; OSM.preferred_editor = application_data.preferredEditor; + OSM.preferred_languages = application_data.preferredLanguages; if (application_data.user) { OSM.user = application_data.user;