fix(player): track tr th clicks for map
This commit is contained in:
parent
0d857822e8
commit
a1b3eb57ec
3 changed files with 4 additions and 2 deletions
|
|
@ -115,4 +115,4 @@ Below is the list of dependencies used in OpenReplay software. Licenses may chan
|
|||
| yq | MIT | Infrastructure |
|
||||
| html2canvas | MIT | JavaScript |
|
||||
| eget | MIT | Infrastructure |
|
||||
|
||||
| @medv/finder | MIT | JavaScript |
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "5.0.1-beta.1",
|
||||
"version": "5.0.1-beta.2",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ function isClickable(element: Element): boolean {
|
|||
tag === 'A' ||
|
||||
tag === 'LI' ||
|
||||
tag === 'SELECT' ||
|
||||
tag === 'TR' ||
|
||||
tag === 'TH' ||
|
||||
(element as HTMLElement).onclick != null ||
|
||||
element.getAttribute('role') === 'button'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue