Fix sources sidebar not showing up
This commit is contained in:
parent
33e6df4b62
commit
ed717f30ec
2 changed files with 1 additions and 3 deletions
|
@ -1042,7 +1042,7 @@ themePicker.onblur = handleThemeButtonsBlur;
|
||||||
all_sources.sort();
|
all_sources.sort();
|
||||||
let mut w = try_err!(File::create(&dst), &dst);
|
let mut w = try_err!(File::create(&dst), &dst);
|
||||||
try_err!(writeln!(&mut w,
|
try_err!(writeln!(&mut w,
|
||||||
"var N = null;var sourcesIndex = {{}};\n{}",
|
"var N = null;var sourcesIndex = {{}};\n{}\ncreateSourceSidebar();",
|
||||||
all_sources.join("\n")),
|
all_sources.join("\n")),
|
||||||
&dst);
|
&dst);
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,5 +137,3 @@ function createSourceSidebar() {
|
||||||
|
|
||||||
main.insertBefore(sidebar, main.firstChild);
|
main.insertBefore(sidebar, main.firstChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
createSourceSidebar();
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue