Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/parsa-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-05-20 11:56:14 +0300
committersomrat <monnaf37@gmail.com>2019-05-20 11:56:14 +0300
commita6a739f5dfad7431a2dd3b71451e5a2ee1630098 (patch)
treee21e2679510de3db11f99d7e68123a0715b45f38 /static
parentc974dc2e274f327215364330e67530456ffb8f0f (diff)
modified search
Diffstat (limited to 'static')
-rw-r--r--static/plugins/search/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/plugins/search/search.js b/static/plugins/search/search.js
index 8a52a2f..e4437d2 100644
--- a/static/plugins/search/search.js
+++ b/static/plugins/search/search.js
@@ -26,7 +26,7 @@ if(searchQuery){
function executeSearch(searchQuery){
- $.getJSON( "/theme/parsa-hugo/index.json", function( data ) {
+ $.getJSON( indexURL, function( data ) {
var pages = data;
var fuse = new Fuse(pages, fuseOptions);
var result = fuse.search(searchQuery);