Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oops, forgot some grouping parens.

  • Loading branch information...
commit d388fe9a8525e75655b097a51ec78319b0bd2e63 1 parent d7ad494
Mike Taylor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ace/lib/event.js
View
2  lib/ace/lib/event.js
@@ -268,7 +268,7 @@ function normalizeCommandKeys(callback, e, keyCode) {
exports.addCommandKeyListener = function(el, callback) {
var addListener = exports.addListener;
- if (useragent.isOldGecko || useragent.isOpera && !("KeyboardEvent" in window)) {
+ if (useragent.isOldGecko || (useragent.isOpera && !("KeyboardEvent" in window))) {
// Old versions of Gecko aka. Firefox < 4.0 didn't repeat the keydown
// event if the user pressed the key for a longer time. Instead, the
// keydown event was fired once and later on only the keypress event.
Please sign in to comment.
Something went wrong with that request. Please try again.