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

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