autoselect
This commit is contained in:
parent
b0ed4f0e7a
commit
ffaf00a130
@ -72,6 +72,11 @@ function dashboard () {
|
||||
})
|
||||
|
||||
$('#keybox').val('A'.repeat(36))
|
||||
$('#keybox').on('click', function (e) {
|
||||
$(this)[0].select()
|
||||
$(this)[0].setSelectionRange(0, key.length)
|
||||
})
|
||||
|
||||
$('#show_key').on('click', function (e) {
|
||||
if (shown) {
|
||||
$('#keybox').val('A'.repeat(36))
|
||||
|
Reference in New Issue
Block a user