testing fix. hash URLs seem to be working differently locally then they do on the server

This commit is contained in:
Eli Mellen 2019-08-07 22:35:24 -04:00
parent 104437c9f6
commit c4952f1b23
1 changed files with 2 additions and 1 deletions

View File

@ -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">