Polyfill SubmitEvent for PaleMoon (#28441)
This commit is contained in:
parent
8c91e31540
commit
6632d1497c
6 changed files with 31 additions and 7 deletions
|
@ -106,7 +106,7 @@ function switchTitleToTooltip(target) {
|
|||
/**
|
||||
* Creating tooltip tippy instance is expensive, so we only create it when the user hovers over the element
|
||||
* According to https://www.w3.org/TR/DOM-Level-3-Events/#events-mouseevent-event-order , mouseover event is fired before mouseenter event
|
||||
* Some old browsers like Pale Moon doesn't support "mouseenter(capture)"
|
||||
* Some browsers like PaleMoon don't support "addEventListener('mouseenter', capture)"
|
||||
* The tippy by default uses "mouseenter" event to show, so we use "mouseover" event to switch to tippy
|
||||
* @param e {Event}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue