X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8ae5d94b2f16d6f2cf1739e19ebc3793a18a0a4a..e4be816ca07a42481cf90537d723eebce76b7b0e:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 2a7e2c5f7..f423c6388 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -7,6 +7,11 @@ class BrowseController < ApplicationController around_filter :web_timeout, :except => [:start] def start + @max_features = case + when browser.ie? && browser.version.to_i < 8 then 100 + when browser.ie? && browser.version.to_i < 9 then 500 + else 2000 + end end def relation