From 46d6f0d0d77cb76a9eb5d83ccf0ddc4b9471c278 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Sun, 9 Jul 2017 00:14:15 +0200
Subject: [PATCH] Do not copy variable used only once.

The copy of variable into a shorter one enlarges the codes size when the
variable is used only once. So don't copy it.
---
 src/scripts/hints.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/scripts/hints.js b/src/scripts/hints.js
index e75afcb..19b56b8 100644
--- a/src/scripts/hints.js
+++ b/src/scripts/hints.js
@@ -551,14 +551,13 @@ var hints = Object.freeze((function(){
             return show(true);
         },
         update: function(n) {
-            var pos,
-                keys = config.hintKeys;
+            var pos;
             /* delete last hint-keys filter digit */
             if (null === n && filterKeys.length) {
                 filterKeys = filterKeys.slice(0, -1);
                 return show(false);
             }
-            if ((pos = keys.indexOf(n)) >= 0) {
+            if ((pos = config.hintKeys.indexOf(n)) >= 0) {
                 filterKeys = filterKeys + n;
                 return show(true);
             }
-- 
2.20.1