summaryrefslogtreecommitdiff
path: root/js/App.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/App.js
parent39182a76e4070d3b92af10bf609fef8151bce6e4 (diff)
Address ESLint rule 'no-prototype-builtins'.
https://eslint.org/docs/latest/rules/no-prototype-builtins
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/App.js b/js/App.js
index c727cc947..97323a9bc 100644
--- a/js/App.js
+++ b/js/App.js
@@ -332,7 +332,7 @@ const App = {
const hotkeys_map = this.getInitParam("hotkeys");
for (const seq in hotkeys_map[1]) {
- if (hotkeys_map[1].hasOwnProperty(seq)) {
+ if (Object.prototype.hasOwnProperty.call(hotkeys_map[1], seq)) {
if (seq === sequence) {
return hotkeys_map[1][seq];
}