testing fix. hash URLs seem to be working differently locally then they do on the server
This commit is contained in:
parent
104437c9f6
commit
c4952f1b23
|
@ -211,7 +211,8 @@ function buildListOfPages(pages) {
|
|||
function buildFooter() {
|
||||
$('#wiki').append(`<a href="javascript:void(0);" id="searchButton" class="searchOpen">Search</a>`);
|
||||
$('#searchButton').click((event) => {
|
||||
const currentPage = window.location.hash.replace('#','');
|
||||
// const currentPage = window.location.hash.replace('#','');
|
||||
const currentPage = window.location.hash;
|
||||
$('#wiki').empty().html(`
|
||||
<div class="searchContainer">
|
||||
<form id="searchForm">
|
||||
|
|
Loading…
Reference in New Issue