mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Fix review nit from bug 298004. (syncs branch/trunk)
This commit is contained in:
parent
8ca161951b
commit
c57bc17df6
@ -1279,7 +1279,7 @@ function ctrlNumberTabSelection(event)
|
||||
// in the range U+xxx6 - U+xxxF. Find the digit 1 corresponding to our
|
||||
// character.
|
||||
var digit1 = (event.charCode & 0xFFF0) | 1;
|
||||
if (!regExp.exec(String.fromCharCode(digit1)))
|
||||
if (!regExp.test(String.fromCharCode(digit1)))
|
||||
digit1 += 6;
|
||||
|
||||
var index = event.charCode - digit1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user