mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix ToC resizing
The `#toc` id was renamed to `#toc-aside`.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
var container = document.querySelector('#toc');
|
var container = document.querySelector('#toc-aside');
|
||||||
|
|
||||||
if (container != null) {
|
if (container != null) {
|
||||||
resize_toc(container);
|
resize_toc(container);
|
||||||
|
|||||||
Reference in New Issue
Block a user