Removed non working search from epub viewer

pull/85/head
OzzieIsaacs 8 years ago
parent 313116dca7
commit a6b6700a73

@ -1,7 +1,7 @@
EPUBJS.reader.search = {}; EPUBJS.reader.search = {};
// Search Server -- https://github.com/futurepress/epubjs-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) { EPUBJS.reader.search.request = function(q, callback) {
var fetch = $.ajax({ var fetch = $.ajax({

@ -73,19 +73,15 @@
<!-- Plugins --> <!-- Plugins -->
<!-- <script src="js/plugins/search.js"></script> --> <!-- <script src="js/plugins/search.js"></script> -->
<script src="{{ url_for('static', filename='js/plugins/search.js') }}"></script> <!--script src="{{ url_for('static', filename='js/plugins/search.js') }}"></script-->
<!-- Highlights -->
<!-- <script src="js/libs/jquery.highlight.js"></script> -->
<!-- <script src="js/hooks/extensions/highlight.js"></script> -->
</head> </head>
<body> <body>
<div id="sidebar"> <div id="sidebar">
<div id="panels"> <div id="panels">
<input id="searchBox" placeholder="search" type="search"> <!--input id="searchBox" placeholder="search" type="search"-->
<a id="show-Search" class="show_view icon-search" data-view="Search">Search</a> <!--a id="show-Search" class="show_view icon-search" data-view="Search">Search</a-->
<a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">TOC</a> <a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">TOC</a>
<a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">Bookmarks</a> <a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">Bookmarks</a>
<a id="show-Notes" class="show_view icon-edit" data-view="Notes">Notes</a> <a id="show-Notes" class="show_view icon-edit" data-view="Notes">Notes</a>

Loading…
Cancel
Save