remove // XXX related to translation keys

This commit is contained in:
David Benqué
2020-03-25 16:40:41 +00:00
parent 67c933622d
commit b20beee2dc
2 changed files with 3 additions and 3 deletions

View File

@@ -459,7 +459,7 @@ define([
var addPublicKey = function ($container) {
if (!APP.readOnly) { return; }
if (!Messages.profile_copyKey) { return; } // XXX
if (!Messages.profile_copyKey) { return; }
var $div = $(h('div.cp-sidebarlayout-element')).appendTo($container);
APP.$edPublic = $('<button>', {
@@ -473,7 +473,7 @@ define([
};
var setPublicKeyButton = function (data) {
if (!data.edPublic || APP.getEdPublic || !APP.readOnly) { return; }
if (!Messages.profile_copyKey) { return; } // XXX
if (!Messages.profile_copyKey) { return; }
APP.$edPublic.show();
APP.getEdPublic = function () {
var metadataMgr = APP.common.getMetadataMgr();