Fix IE and minor tweaks#2392
Conversation
|
BTW I can always rebase and generally make any needed changes. I just happened to notice the IE issues and maybe the last patch could be split to a separate PR. |
Otherwise this didn't show properly on IE.
This way none of the images will have the border.
ghost
left a comment
There was a problem hiding this comment.
Any special changes?I don't see anything perticular……?
@MaledongGit |
Well, this is the only place in frontend that ES6 was used. And that's just one line, we can all live with it or with |
Thanks for telling me, it's right. |
|
That |
|
@silverwind: it's the only place ES6 is used. And IE doesn't support arrow functions. I went with consistency here, which is better in the long-term IMO. |
|
Ok, whatever. Would prefer we stop supporting IE11 soon and compile to ES6. |
|
Fine by me but it should be done properly is all I'm saying. And this was easier for me at the time :P |
Notice: This 'rect' is invisible as a container for the language symbol to show the tooltip in both IE and Chrome, FF,ect. For reasons of accessibility, user agents should always make the content of the 'title' child element to the root svg element available to users. However, this is typically done through other means than the tooltips used for nested SVG and graphics elements, e.g., by displaying in a browser tab. See more at: https://svgwg.org/svg2-draft/struct.html#TitleElement Issues and Subjects related to this are: 1、#2294. 2、#2403. 3、#2392.
Before:
After: