summaryrefslogtreecommitdiff
path: root/js/CommonDialogs.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-12 21:38:59 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-12 21:38:59 +0000
commitd442079a72dd575704a5eff6cafe325eabca71c2 (patch)
tree7735a586370287c985db184b72226cb5222aab51 /js/CommonDialogs.js
parent39182a76e4070d3b92af10bf609fef8151bce6e4 (diff)
Address ESLint rule 'no-prototype-builtins'.
https://eslint.org/docs/latest/rules/no-prototype-builtins
Diffstat (limited to 'js/CommonDialogs.js')
-rw-r--r--js/CommonDialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js
index a9395d62e..9c6d1338b 100644
--- a/js/CommonDialogs.js
+++ b/js/CommonDialogs.js
@@ -184,7 +184,7 @@ const CommonDialogs = {
select.addOption({value: '', label: __("Expand to select feed")});
for (const feedUrl in feeds) {
- if (feeds.hasOwnProperty(feedUrl)) {
+ if (Object.prototype.hasOwnProperty.call(feeds, feedUrl)) {
select.addOption({value: feedUrl, label: feeds[feedUrl]});
}
}