aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-03-21 16:59:18 +0100
committerTeddy Wing2021-03-21 17:45:47 +0100
commitdad4ca866f7c6a7b3795759a0263c33ffbba2cca (patch)
tree6c038137de89ca6d666b69b38d0469fd0766d60b
parent8b9171a644c3b6a6479dd29bca0f4218d5333ce3 (diff)
downloadPeniquitous-dad4ca866f7c6a7b3795759a0263c33ffbba2cca.tar.bz2
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.
-rw-r--r--peniquitous.js4
1 files 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,