From f51e6dd84a47567cc6638ca10870257c2fa375e9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 27 May 2011 14:22:10 +0000 Subject: [PATCH] Fix handling of CSL 1.0 dependent styles --- chrome/content/zotero/xpcom/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/style.js b/chrome/content/zotero/xpcom/style.js index 5390e2a9e9..006588da9c 100644 --- a/chrome/content/zotero/xpcom/style.js +++ b/chrome/content/zotero/xpcom/style.js @@ -398,7 +398,7 @@ Zotero.Style = function(arg) { this.source = null; for each(var link in xml.info.link) { - if(link.@rel == "source") { + if(link.@rel == "source" || link.@rel == "independent-parent") { this.source = link.@href.toString(); if(this.source == this.styleID) { throw "Style with ID "+this.styleID+" references itself as source";