App.addInitializer ->
$(window).on 'keypress', (e) =>
- code = e.keyCode || e.which
- if code == 63
- @helpView = new HelpView app: @
- @helpView.render()
+ tagName = e.target.tagName
+ unless tagName == 'INPUT' || tagName == 'SELECT' || tagName == 'TEXTAREA'
+ code = e.keyCode || e.which
+ if code == 63
+ @helpView = new HelpView app: @
+ @helpView.render()
App.addInitializer ->
<li><span class="shortcut-button">m</span> to assign to the current user</li>
<li><span class="shortcut-button">p</span> to plan</li>
<li><span class="shortcut-button">i</span> to change severity</li>
+ <li><span class="shortcut-button">o</span> to comment</li>
</ul>
</div>