Skip to content

Commit

Permalink
doc: use better attribute
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
ShogunPanda and aduh95 committed Mar 18, 2022
1 parent e23f274 commit 87ee85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api_assets/api.js
Expand Up @@ -119,7 +119,7 @@ function setupStickyHeaders() {
}

// Check if we have JavaScript support
document.querySelector(':root').classList.add('has-js');
document.documentElement.classList.add('has-js');

// Restore user mode preferences
setupTheme();
Expand Down

0 comments on commit 87ee85f

Please sign in to comment.