Skip to content
Snippets Groups Projects
Commit fde457b3 authored by Thomas Misilo's avatar Thomas Misilo Committed by Demian Katz
Browse files

Remove http: from openlibrary link, so it works on https

parent cd032a0a
No related merge requests found
...@@ -175,7 +175,7 @@ function getBookPreviews() { ...@@ -175,7 +175,7 @@ function getBookPreviews() {
// fetch OpenLibrary preview if enabled // fetch OpenLibrary preview if enabled
if ($('[class*="olPreviewSpan"]').length > 0) { if ($('[class*="olPreviewSpan"]').length > 0) {
script = 'http://openlibrary.org/api/books?bibkeys=' script = '//openlibrary.org/api/books?bibkeys='
+ bibkeys.join(',') + '&callback=processOLBookInfo'; + bibkeys.join(',') + '&callback=processOLBookInfo';
$.getScript(script); $.getScript(script);
} }
......
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