Skip to content

Commit aaf04b6

Browse files
committed
fix missing click event
1 parent 1e2b483 commit aaf04b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frameworks/keyed/ls-element/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ export class MainElement extends HTMLElement implements LSCustomElement {
6666
<tr id={`row-${item.id}`} class={item.id === this._selected ? 'danger' : undefined}>
6767
<td id={`row-${item.id}-1`} class="col-md-1">{item.id}</td>
6868
<td id={`row-${item.id}-2`} class="col-md-4">
69-
<a id={`row-${item.id}-3`} onpointerup={() => this._select(item.id)}>{item.label}</a>
69+
<a id={`row-${item.id}-3`} onclick={() => this._select(item.id)}>{item.label}</a>
7070
</td>
7171
<td id={`row-${item.id}-4`} class="col-md-1">
72-
<a id={`row-${item.id}-5`} onpointerup={() => this._remove(item.id)}>
72+
<a id={`row-${item.id}-5`} onclick={() => this._remove(item.id)}>
7373
<span id={`row-${item.id}-6`} class="glyphicon glyphicon-remove" aria-hidden="true" />
7474
</a>
7575
</td>

0 commit comments

Comments
 (0)