From a6b6700a73bd3e7a2f0ec55fab45a5c2193a8a52 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Tue, 1 Nov 2016 18:49:47 +0100 Subject: [PATCH] Removed non working search from epub viewer --- cps/static/js/plugins/search.js | 2 +- cps/templates/read.html | 10 ++--- cps/web.py | 78 ++++++++++++++++----------------- 3 files changed, 43 insertions(+), 47 deletions(-) diff --git a/cps/static/js/plugins/search.js b/cps/static/js/plugins/search.js index 607f5a95..b47849d3 100644 --- a/cps/static/js/plugins/search.js +++ b/cps/static/js/plugins/search.js @@ -1,7 +1,7 @@ EPUBJS.reader.search = {}; // Search Server -- https://github.com/futurepress/epubjs-search -EPUBJS.reader.search.SERVER = "https://pacific-cliffs-3579.herokuapp.com"; +EPUBJS.reader.search.SERVER = ""; EPUBJS.reader.search.request = function(q, callback) { var fetch = $.ajax({ diff --git a/cps/templates/read.html b/cps/templates/read.html index d14519f0..44fea970 100644 --- a/cps/templates/read.html +++ b/cps/templates/read.html @@ -73,19 +73,15 @@ - - - - - +