Use browser detection to decide how many features to show

Modern browsers are quite happy showing far more than 100 features in
the data browser, so increase the limit to 2000 by default, but keep it
restricted to 500 for IE8 and 100 for older IEs.
This commit is contained in:
Tom Hughes 2012-06-05 12:59:13 +01:00
parent 417db2c3c8
commit 652e94485f
4 changed files with 11 additions and 1 deletions

View file

@ -25,6 +25,9 @@ gem 'http_accept_language', '>= 1.0.2'
gem 'paperclip', '~> 2.0'
gem 'deadlock_retry', '>= 1.2.0'
# Browser detection support
gem 'browser'
# Markdown formatting support
gem 'redcarpet'