Improve old IE detection

This commit is contained in:
Thibaut 2014-04-05 18:41:20 -04:00
parent e8d402afea
commit bb1642e0a8

View file

@ -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