diff --git a/luci-app-homeproxy/htdocs/luci-static/resources/homeproxy.js b/luci-app-homeproxy/htdocs/luci-static/resources/homeproxy.js index be47bd5ef..ce68c4ebf 100644 --- a/luci-app-homeproxy/htdocs/luci-static/resources/homeproxy.js +++ b/luci-app-homeproxy/htdocs/luci-static/resources/homeproxy.js @@ -68,7 +68,7 @@ return baseclass.extend({ renderWidget: function(/* ... */) { var dl = form.DynamicList.prototype.renderWidget.apply(this, arguments); - dl.querySelector('.add-item ul > li[data-value="-"]').remove(); + dl.querySelector('.add-item ul > li[data-value="-"]')?.remove(); return dl; } }),