Skip to content

Commit

Permalink
Don't enable keyboard shortcuts in frames mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Mar 24, 2010
1 parent e7c7182 commit e0ccea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/default/fulldoc/html/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function framesInit() {
}

function keyboardShortcuts() {
if (window.top.frames.main) return;
$(document).keypress(function(evt) {
if (evt.altKey || evt.ctrlKey || evt.metaKey || evt.shiftKey) return;
if (evt.originalTarget.nodeName == "INPUT" ||
Expand Down

0 comments on commit e0ccea7

Please sign in to comment.