mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Scroll page instead of nested div, removed nested divs
This commit is contained in:
@@ -306,16 +306,10 @@ function initSearch() {
|
||||
}
|
||||
{%- endif %}
|
||||
|
||||
function pageFocus() {
|
||||
var mainWrap = document.getElementById('main-wrap');
|
||||
mainWrap.focus();
|
||||
}
|
||||
|
||||
// Document ready
|
||||
|
||||
jtd.onReady(function(){
|
||||
initNav();
|
||||
pageFocus();
|
||||
{% if site.search_enabled != false -%}
|
||||
initSearch();
|
||||
{%- endif %}
|
||||
|
Reference in New Issue
Block a user