Skip to content

Commit 519a84a

Browse files
committed
Avoid highlighting table rows when clicking on links
1 parent 4b783fc commit 519a84a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

www/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ function highlightRow(e) {
259259
if (updateInProgress)
260260
return
261261

262+
// Don't highlight the row if the click was on a link
263+
if (e.target.tagName === 'A')
264+
return
265+
262266
e.currentTarget.classList.toggle('highlight')
263267
}
264268

0 commit comments

Comments
 (0)