diff --git a/src/dashboard.js b/src/dashboard.js index 4c7feda..f42b61e 100644 --- a/src/dashboard.js +++ b/src/dashboard.js @@ -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))