Commit 363d5a6c authored by Lukas Eipert's avatar Lukas Eipert

Scope down Chrome version for icon fix

When checking the Chromium changelog, we can see that they backported
the SVG fix to: `84.0.4147.125` [0]. So we can actually scope our fix
deployment down to that version.

For Edge we have figured out which version to use based on it's
useragent: `84.0.522.59`, for example:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/84.0.4147.125 Safari/537.36 Edg/84.0.522.59

[0]: https://chromium.googlesource.com/chromium/src/+log/84.0.4147.89..84.0.4147.125?pretty=fuller&n=10000
parent 82643f14
......@@ -68,7 +68,7 @@
= yield :page_specific_javascripts
= webpack_controller_bundle_tags
= webpack_bundle_tag "chrome_84_icon_fix" if browser.chrome?([">=84", "<85"]) || browser.edge?([">=84", "<85"])
= webpack_bundle_tag "chrome_84_icon_fix" if browser.chrome?([">=84", "<84.0.4147.125"]) || browser.edge?([">=84", "<84.0.522.59"])
= yield :project_javascripts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment