1
Fork 0

Consistentize the system for image URLs in CSS.

This commit is contained in:
Jacob Hoffman-Andrews 2021-11-23 21:23:54 -08:00
parent f0683f98fa
commit d9afca5808
6 changed files with 36 additions and 37 deletions

View file

@ -58,8 +58,8 @@ function resourcePath(basename, extension) {
(function () {
window.rootPath = getVar("root-path");
window.currentCrate = getVar("current-crate");
window.searchJS = resourcePath("search", "js");
window.searchIndexJS = resourcePath("search-index", "js");
window.searchJS = resourcePath("search", ".js");
window.searchIndexJS = resourcePath("search-index", ".js");
var sidebarVars = document.getElementById("sidebar-vars");
if (sidebarVars) {
window.sidebarCurrent = {