0ab684
From d05e6269d4a4dfd701f5ddb3ae34306cba891511 Mon Sep 17 00:00:00 2001
0ab684
From: Jun Aruga <jaruga@redhat.com>
0ab684
Date: Fri, 3 Aug 2018 11:35:55 +0200
0ab684
Subject: [PATCH] Fix indent and typo from moveTimout to moveTimeout.
0ab684
0ab684
---
0ab684
 lib/rdoc/generator/template/json_index/js/navigation.js | 7 +++----
0ab684
 1 file changed, 3 insertions(+), 4 deletions(-)
0ab684
0ab684
diff --git a/lib/rdoc/generator/template/json_index/js/navigation.js b/lib/rdoc/generator/template/json_index/js/navigation.js
0ab684
index e4126812..43c5118a 100644
0ab684
--- a/lib/rdoc/generator/template/json_index/js/navigation.js
0ab684
+++ b/lib/rdoc/generator/template/json_index/js/navigation.js
0ab684
@@ -59,9 +59,8 @@ Navigation = new function() {
0ab684
         }
0ab684
         break;
0ab684
       case 13: //Event.KEY_RETURN:
0ab684
-        if (this.$current)
0ab684
-          e.preventDefault();
0ab684
-          this.select(this.$current);
0ab684
+        if (this.$current) e.preventDefault();
0ab684
+        this.select(this.$current);
0ab684
         break;
0ab684
     }
0ab684
     if (e.ctrlKey && e.shiftKey) this.select(this.$current);
0ab684
@@ -80,7 +79,7 @@ Navigation = new function() {
0ab684
     var go = function() {
0ab684
       if (!_this.moveTimeout) return;
0ab684
       _this[isDown ? 'moveDown' : 'moveUp']();
0ab684
-      _this.moveTimout = setTimeout(go, 100);
0ab684
+      _this.moveTimeout = setTimeout(go, 100);
0ab684
     }
0ab684
     this.moveTimeout = setTimeout(go, 200);
0ab684
   }