From dad4ca866f7c6a7b3795759a0263c33ffbba2cca Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 21 Mar 2021 16:59:18 +0100 Subject: peniquitous.js: Add missing `var` declaration Make this a local instead of a global variable. Must have forgotten the `var` when I first wrote this. --- peniquitous.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peniquitous.js b/peniquitous.js index a25943f..2921b51 100644 --- a/peniquitous.js +++ b/peniquitous.js @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Teddy Wing +// Copyright (c) 2015, 2021 Teddy Wing // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ (function() { - key_codes = { + var key_codes = { p: 80, n: 78, UP_ARROW: 38, -- cgit v1.2.3