Fixed typeahead with reverse proxy

fixed marking of tags in advanced search
seperated js and html
This commit is contained in:
OzzieIsaacs
2017-02-05 13:40:53 +01:00
parent d5a64baf13
commit 18a06e4a25
5 changed files with 206 additions and 204 deletions

View File

@@ -4,7 +4,7 @@
<div class="col-sm-3 col-lg-3 col-xs-12">
<div class="cover">
{% if book.has_cover %}
<img src="{{ url_for('get_cover', cover_path=book.path) }}" />
<img src="{{ url_for('get_cover', cover_path=book.path.replace('\\','/')) }}" />
{% else %}
<img src="{{ url_for('static', filename='generic_cover.jpg') }}" />
{% endif %}