Commit 447d765
committed
Administration: Prevent race condition in wp-tooltip.js delay timer.
Move the timer variable `openTimeout` from the outer scope of the wrapper function to the inner scope, preventing reuse of the same timer instance by different tooltips.
Props fahimmurshed, westonruter, joedolson.
Fixes #65674.
git-svn-id: https://develop.svn.wordpress.org/trunk@63549 602fd350-edb4-49c9-b593-d223f7449a821 parent e075d86 commit 447d765
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments