autoselect user href in settings

pull/1/head
ansuz 2017-09-08 15:07:25 +02:00
parent e950ce74cb
commit de5d925154
1 changed files with 1 additions and 3 deletions

View File

@ -75,9 +75,7 @@ define([
var userHref = Cryptpad.getUserHrefFromKeys(accountName, publicKey);
var $pubLabel = $('<span>', {'class': 'label'})
.text(Messages.settings_publicSigningKey);
var $pubKey = $('<input>', {type: 'text', readonly: true})
.val(userHref);
$key.append($pubLabel).append($pubKey);
$key.append($pubLabel).append(Cryptpad.dialog.selectable(userHref));
}
return $div;