mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Use a more universal method of checking the element name
This commit is contained in:
parent
c945afb2e1
commit
0e3b695a85
1 changed files with 1 additions and 1 deletions
|
|
@ -727,7 +727,7 @@ class VirtualizedTable extends React.Component {
|
|||
}
|
||||
|
||||
_handleContextMenu = async (e, index) => {
|
||||
if (e.target.nodeName.toLowerCase() === 'input') {
|
||||
if (e.target.localName === 'input') {
|
||||
// Do not hijack context menu on inputs, fixes #5374
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue