mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 22:46:57 +02:00
chore(v2): fix code style
This commit is contained in:
parent
b07507c9cc
commit
6965a668cd
143 changed files with 458 additions and 457 deletions
|
@ -21,7 +21,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
timer = setTimeout(function () {
|
||||
timer = setTimeout(function() {
|
||||
timer = null;
|
||||
var activeNavFound = false;
|
||||
var headings = findHeadings(); // toc nav anchors
|
||||
|
@ -75,7 +75,7 @@
|
|||
|
||||
document.addEventListener('scroll', onScroll);
|
||||
document.addEventListener('resize', onScroll);
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Cache the headings once the page has fully loaded.
|
||||
headingsCache = findHeadings();
|
||||
onScroll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue