mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Enable use of spacebar for scrolling into book body
This commit is contained in:
@@ -41,5 +41,8 @@ require([
|
||||
|
||||
// Show progress
|
||||
progress.show();
|
||||
|
||||
// Focus on content
|
||||
$(".book-body").focus();
|
||||
});
|
||||
});
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -5,7 +5,7 @@
|
||||
<div class="book with-summary" data-github="{{ githubId }}" data-level="{{ progress.current.level }}">
|
||||
{% include "includes/book/header.html" %}
|
||||
{% include "includes/book/summary.html" %}
|
||||
<div class="book-body">
|
||||
<div class="book-body" tabindex="-1">
|
||||
<div class="page-wrapper">
|
||||
<div class="book-progress">
|
||||
<div class="bar">
|
||||
|
||||
Reference in New Issue
Block a user