From 23eb381ea05a74771bd0c37415b913194fc167d4 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 16 Mar 2011 14:35:02 +0000 Subject: [PATCH] support 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 d493aef789..975433afa5 100644 --- a/chrome/content/zotero/xpcom/style.js +++ b/chrome/content/zotero/xpcom/style.js @@ -182,7 +182,7 @@ Zotero.Styles = new function() { // look for a parent for each(var link in xml.info.link) { - if(link.@rel == "source") { + if(link.@rel == "source" || link.@rel == "independent-parent") { source = link.@href.toString(); if(source == styleID) { if(!hidden) alert(Zotero.getString('styles.installError', loadURI));