summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
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];
}