Spell out 'Comma' and 'Period' in keybinds.
This commit is contained in:
parent
ec61bf9d6a
commit
43ae6354f3
@ -215,9 +215,9 @@ Keybinds =
|
||||
when 40
|
||||
'Down'
|
||||
when 188
|
||||
','
|
||||
'Comma'
|
||||
when 190
|
||||
'.'
|
||||
'Period'
|
||||
else
|
||||
if 48 <= kc <= 57 or 65 <= kc <= 90 # 0-9, A-Z
|
||||
String.fromCharCode(kc).toLowerCase()
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
Captcha.fixes =
|
||||
imageKeys: '789456123uiojklm,.'.split('')
|
||||
imageKeys: '789456123uiojklm'.split('').concat(['Comma', 'Period'])
|
||||
|
||||
css: '''
|
||||
.rc-imageselect-target > div:focus {
|
||||
@ -79,7 +79,7 @@ Captcha.fixes =
|
||||
|
||||
addTooltips: (nodes) ->
|
||||
for node, i in nodes
|
||||
node.title = "#{@imageKeys[i]} or #{@imageKeys[i+9].toUpperCase()}"
|
||||
node.title = "#{@imageKeys[i]} or #{@imageKeys[i+9][0].toUpperCase()}#{@imageKeys[i+9][1..]}"
|
||||
return
|
||||
|
||||
checkForm: (e) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user