Use browser detection to decide how many features to show
authorTom Hughes <tom@compton.nu>
Tue, 5 Jun 2012 11:59:13 +0000 (12:59 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 5 Jun 2012 11:59:13 +0000 (12:59 +0100)
commit652e94485f21ffbae1fc83acdd4f229c5957b7c1
tree6268810bea71b1a94a4debe47a59d69ffeaaa62e
parent417db2c3c89e9d5d3ce708ac777ae0fda7a2532b
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.
Gemfile
Gemfile.lock
app/controllers/browse_controller.rb
app/views/browse/start.js.erb