We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 296448f + d05e626 commit dab39acCopy full SHA for dab39ac
lib/rdoc/generator/template/json_index/js/navigation.js
@@ -59,9 +59,8 @@ Navigation = new function() {
59
}
60
break;
61
case 13: //Event.KEY_RETURN:
62
- if (this.$current)
63
- e.preventDefault();
64
- this.select(this.$current);
+ if (this.$current) e.preventDefault();
+ this.select(this.$current);
65
66
67
if (e.ctrlKey && e.shiftKey) this.select(this.$current);
@@ -80,7 +79,7 @@ Navigation = new function() {
80
79
var go = function() {
81
if (!_this.moveTimeout) return;
82
_this[isDown ? 'moveDown' : 'moveUp']();
83
- _this.moveTimout = setTimeout(go, 100);
+ _this.moveTimeout = setTimeout(go, 100);
84
85
this.moveTimeout = setTimeout(go, 200);
86
0 commit comments