diff --git a/www/profile/inner.js b/www/profile/inner.js index 5dfbaf491..ba348d829 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -457,9 +457,9 @@ define([ APP.editor.save(); }; - Messages.profile_copyKey = "Copy edPublic key"; // XXX var addPublicKey = function ($container) { if (!APP.readOnly) { return; } + if (!Messages.profile_copyKey) { return; } // XXX var $div = $(h('div.cp-sidebarlayout-element')).appendTo($container); APP.$edPublic = $('