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