Commit 2c9cdb73 by Kyle Boots

Fix Malformed Staticbook url

parent 3f750333
......@@ -108,7 +108,7 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None):
viewer_params += '#zoom=page-fit&disableRange=true'
if page is not None:
viewer_params += '&page={}'.format(page)
viewer_params += '&page={}'.format(page)
if request.GET.get('viewer', '') == 'true':
template = 'pdf_viewer.html'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment