From bb1642e0a8e9c9875da306b02573093a0b34171e Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 5 Apr 2014 18:41:20 -0400 Subject: [PATCH] Improve old IE detection --- lib/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.rb b/lib/app.rb index a8eb628f..3317efcc 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -83,7 +83,7 @@ class App < Sinatra::Application end def unsupported_browser? - browser.ie? && browser.version.to_i <= 9 + browser.ie? && %w(6 7 8 9).include?(browser.version) end def doc_index_urls