luci-app-homeproxy: sync upstream

last commit: 4463c24e80
This commit is contained in:
gitea-action 2025-01-12 16:00:19 +08:00
parent 2067c985ee
commit f45b5cc7dc

View File

@ -68,7 +68,7 @@ return baseclass.extend({
renderWidget: function(/* ... */) { renderWidget: function(/* ... */) {
var dl = form.DynamicList.prototype.renderWidget.apply(this, arguments); 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; return dl;
} }
}), }),