support CSL 1.0 dependent styles
This commit is contained in:
parent
f25aadb7ad
commit
23eb381ea0
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ Zotero.Styles = new function() {
|
||||||
|
|
||||||
// look for a parent
|
// look for a parent
|
||||||
for each(var link in xml.info.link) {
|
for each(var link in xml.info.link) {
|
||||||
if(link.@rel == "source") {
|
if(link.@rel == "source" || link.@rel == "independent-parent") {
|
||||||
source = link.@href.toString();
|
source = link.@href.toString();
|
||||||
if(source == styleID) {
|
if(source == styleID) {
|
||||||
if(!hidden) alert(Zotero.getString('styles.installError', loadURI));
|
if(!hidden) alert(Zotero.getString('styles.installError', loadURI));
|
||||||
|
|
Loading…
Reference in a new issue