]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Don't show older/newer buttons if all items fit on one page
[rails.git] / app / assets / javascripts / application.js
index 20976d15a56ff93264d1d81a511c564840517904..05474212645361fd975d3a0e188edbe1c4bdae81 100644 (file)
@@ -106,6 +106,7 @@ $(document).ready(function () {
     $("body").removeClass("compact-nav");
 
     $("header").removeClass("text-nowrap");
+    $("header nav.secondary > ul").removeClass("flex-nowrap");
 
     updateHeader();