X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ae5d94b2f16d6f2cf1739e19ebc3793a18a0a4a..ada8b184ea9820b6bfa8926e97e809d4a9a5c44d:/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