-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed svg for older chrome browsers bug #11414
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
const firefoxBaseUrlFix = () => `${ window.location.origin }${ FlowRouter.current().path }`; | ||
|
||
Template.icon.helpers({ | ||
baseUrl: isFirefox && isFirefox[1] < 55 ? firefoxBaseUrlFix : undefined | ||
baseUrl: isFirefox && isFirefox[2] < 55 ? firefoxBaseUrlFix : undefined | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tassoevan
Contributor
|
||
}); |
55
is the Firefox version. right?Did you check that it's working on Chrome 51?
For me it didn't work at previous versions of Rocket.Chat on Chrome 51.