summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 a68cb6b0bf..4a8e223aed 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);