mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-03 17:54:14 +02:00
Fix relative path to pagefind script
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
308bcfd20e
commit
bccbff878d
|
|
@ -25,7 +25,9 @@ search backend.
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
$(document).ready(async function () {
|
$(document).ready(async function () {
|
||||||
const pagefind = await import("./pagefind/pagefind.js");
|
// This is going to be loaded from ${deployment}/js/main.js so to use a relative path
|
||||||
|
// to the Pagefind script we need to navigate one level up.
|
||||||
|
const pagefind = await import("../pagefind/pagefind.js");
|
||||||
const $searchInput = $(".td-search input");
|
const $searchInput = $(".td-search input");
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue