Fix #1095 (epub viewer not working if only viewer rule wa sapplied)

This commit is contained in:
Ozzieisaacs
2019-12-01 12:21:21 +01:00
parent f8a99c60d8
commit 54079b36ae
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -86,7 +86,7 @@
filePath: "{{ url_for('static', filename='js/libs/') }}",
cssPath: "{{ url_for('static', filename='css/') }}",
bookmarkUrl: "{{ url_for('web.bookmark', book_id=bookid, book_format='EPUB') }}",
bookUrl: "{{ url_for('web.download_link', book_id=bookid, book_format='epub', anyname='file.epub') }}",
bookUrl: "{{ url_for('web.serve_book', book_id=bookid, book_format='epub', anyname='file.epub') }}",
bookmark: "{{ bookmark.bookmark_key if bookmark != None }}",
useBookmarks: "{{ g.user.is_authenticated | tojson }}"
};