Blame SOURCES/ruby-2.6.0-rdoc-6.0.1-fix-template-typo.patch

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