autoselect user href in settings

pull/1/head
ansuz 7 years ago
parent e950ce74cb
commit de5d925154

@ -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;

Loading…
Cancel
Save