From d442079a72dd575704a5eff6cafe325eabca71c2 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Sun, 12 Oct 2025 21:38:59 +0000 Subject: Address ESLint rule 'no-prototype-builtins'. https://eslint.org/docs/latest/rules/no-prototype-builtins --- js/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/App.js') 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]; } -- cgit v1.2.3-54-g00ecf