mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Improve old IE detection
This commit is contained in:
parent
e8d402afea
commit
bb1642e0a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue