Repository navigation
Commit 3e181d3
committed
Administration: Prevent errors in wp-tooltip.js on browsers without popover support.
Add a feature gate so that the tooltip JS hides popover panels on browsers without popover support, and doesn't execute calls that can trigger errors.
There are no browsers within the WordPress support matrix without popover support, but gating this feature gives users of older browsers a better experience with minimal change.
Props wolf45, wildworks, adamsilverstein, joedolson.
Fixes #65943.
git-svn-id: https://develop.svn.wordpress.org/trunk@63543 602fd350-edb4-49c9-b593-d223f7449a821 parent ea146ac commit 3e181d3
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
0 commit comments