Skip to content

Commit

Permalink
Fix exception when tabbing to the subject field in the composer
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Jan 29, 2018
1 parent 4af7fe8 commit 8ae17ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/tab-group-region.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
};

Expand Down

0 comments on commit 8ae17ea

Please sign in to comment.