From c4952f1b232c94e33f9702007805e8db432eef94 Mon Sep 17 00:00:00 2001 From: Eli Mellen Date: Wed, 7 Aug 2019 22:35:24 -0400 Subject: [PATCH] testing fix. hash URLs seem to be working differently locally then they do on the server --- src/js/Wiki.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/Wiki.js b/src/js/Wiki.js index 5177da4..fc53355 100644 --- a/src/js/Wiki.js +++ b/src/js/Wiki.js @@ -211,7 +211,8 @@ function buildListOfPages(pages) { function buildFooter() { $('#wiki').append(`Search`); $('#searchButton').click((event) => { - const currentPage = window.location.hash.replace('#',''); + // const currentPage = window.location.hash.replace('#',''); + const currentPage = window.location.hash; $('#wiki').empty().html(`