Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
a6b6700a
Commit
a6b6700a
authored
Nov 01, 2016
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed non working search from epub viewer
parent
313116dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
search.js
cps/static/js/plugins/search.js
+1
-1
read.html
cps/templates/read.html
+3
-7
No files found.
cps/static/js/plugins/search.js
View file @
a6b6700a
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
({
...
...
cps/templates/read.html
View file @
a6b6700a
...
...
@@ -73,19 +73,15 @@
<!-- Plugins -->
<!-- <script src="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> -->
<!--script src="{{ url_for('static', filename='js/plugins/search.js') }}"></script-->
</head>
<body>
<div
id=
"sidebar"
>
<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-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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment