luci-mod-system: fix reference to undefined variable

Fixes: 24550446c ("luci-mod-system: fix parsing SSH pubkeys with options")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-12-23 17:11:48 +01:00
parent 24550446ca
commit b9c806b064

View file

@ -106,7 +106,7 @@ var SSHPubkeyDecoder = L.Class.singleton({
function renderKeyItem(pubkey) {
return E('div', {
class: 'item',
click: isReadonlyView ? null : removeKey,
click: removeKey,
'data-key': pubkey.src
}, [
E('strong', pubkey.comment || _('Unnamed key')), E('br'),