]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Use flexbox to position the close icon on the sidebars
[rails.git] / lib / bounding_box.rb
index 630518649d5814894d4de0e44b09c4977fe6f493..0b9731b227223f454801f82b1e71fc1d92036511 100644 (file)
@@ -89,7 +89,7 @@ class BoundingBox
   end
 
   def complete?
-    !to_a.include?(nil)
+    to_a.exclude?(nil)
   end
 
   def centre_lon