Skip to content

Commit

Permalink
don't intercept ctrl-tab so switching tabs works as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
gleber committed Dec 6, 2010
1 parent 7f9e306 commit 94b248f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/static/erldocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ var ErlDocs = (function(index) {

$(document).bind("keypress", function(e) {

if (e.keyCode === KEY.TAB) {
if (e.keyCode === KEY.TAB && !e.metaKey) {

e.preventDefault();
e.stopPropagation();
Expand Down

0 comments on commit 94b248f

Please sign in to comment.