app: hide IE11 deprecation banner during the strike
Having two banners appearing in a few days may be overwhelming for users.
This commit is contained in:
parent
ef76af5546
commit
c2882b6cc3
2 changed files with 7 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
Browser.modern_rules.clear
|
||||
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 && !b.platform.ios? }
|
||||
Browser.modern_rules << -> b { b.edge? && b.version.to_i >= 14 && !b.compatibility_view? }
|
||||
Browser.modern_rules << -> b { b.ie? && b.version.to_i >= 11 && !b.compatibility_view? }
|
||||
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 && !b.platform.ios? }
|
||||
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
|
||||
Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue