mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 07:46:06 +08:00
Fix exception when tabbing to the subject field in the composer
This commit is contained in:
parent
4af7fe88d5
commit
8ae17eae12
|
@ -53,7 +53,7 @@ class TabGroupRegion extends React.Component {
|
|||
|
||||
_shouldSelectEnd = node => {
|
||||
return (
|
||||
node.nodeName === 'INPUT' && node.type === 'text' && !node.classList.includes('no-select-end')
|
||||
node.nodeName === 'INPUT' && node.type === 'text' && !node.classList.contains('no-select-end')
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue