Fix for OpenURL 0.1 resolver detection
The discoverResolvers function was looking for the wrong XML tag name representing OpenURL version 0.1 in the response from the WorldCat Registry
This commit is contained in:
parent
b9fb7fa3c6
commit
0d2a205110
|
@ -74,7 +74,7 @@ Zotero.OpenURL = new function() {
|
|||
|
||||
if(resolver.getElementsByTagName("Z39.88-2004").length > 0) {
|
||||
var version = "1.0";
|
||||
} else if(resolver.getElementsByTagName("OpenUrl 0.1").length > 0) {
|
||||
} else if(resolver.getElementsByTagName("OpenURL_0.1").length > 0) {
|
||||
var version = "0.1";
|
||||
} else {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user