diff options
author | Teddy Wing | 2021-03-21 16:59:18 +0100 |
---|---|---|
committer | Teddy Wing | 2021-03-21 17:45:47 +0100 |
commit | dad4ca866f7c6a7b3795759a0263c33ffbba2cca (patch) | |
tree | 6c038137de89ca6d666b69b38d0469fd0766d60b | |
parent | 8b9171a644c3b6a6479dd29bca0f4218d5333ce3 (diff) | |
download | Peniquitous-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.js | 4 |
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, |