summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js
index a68cb6b0b..4a8e223ae 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js
@@ -104,7 +104,7 @@ var callFileWrite = rpc.declare({
});
function renderKeys(keys) {
- var list = document.querySelector('.cbi-dynlist[name="sshkeys"]');
+ var list = document.querySelector('.cbi-dynlist');
while (!matchesElem(list.firstElementChild, '.add-item'))
list.removeChild(list.firstElementChild);