Merge pull request #2343 from betagouv/disallow-ie-10
browsers: enforce IE 11 as the minimum required IE version
This commit is contained in:
commit
2e87218480
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
Browser.modern_rules.clear
|
Browser.modern_rules.clear
|
||||||
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 40 }
|
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 40 }
|
||||||
Browser.modern_rules << -> b { b.ie?([">=10"]) }
|
Browser.modern_rules << -> b { b.ie?([">=11"]) }
|
||||||
Browser.modern_rules << -> b { b.edge? }
|
Browser.modern_rules << -> b { b.edge? }
|
||||||
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 45 }
|
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 45 }
|
||||||
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 19 }
|
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 19 }
|
||||||
|
|
Loading…
Reference in a new issue