Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-Barclay committed Jul 27, 2017
1 parent e1a4fa6 commit 9b231f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class TerminationView extends View
return unless @terminal

lastActiveElement = $(document.activeElement)
return if fromWindowEvent and not lastActiveElement.is('div.terminal') or lastActiveElement.parents('div.terminal').length)
return if fromWindowEvent and not (lastActiveElement.is('div.terminal') or lastActiveElement.parents('div.terminal').length)

@terminal.focus()
if @terminal._textarea
Expand Down

0 comments on commit 9b231f2

Please sign in to comment.