Fix bug preventing SVG 2 maturity background colours from displaying.
authorCameron McCormack <cam@mcc.id.au>
Tue, 28 May 2013 15:15:10 +1000
changeset 81 7dc3ec585766
parent 80 661aed1acd5c
child 82 7930bc4dbcb0
Fix bug preventing SVG 2 maturity background colours from displaying.
publish/processing.js
--- a/publish/processing.js	Wed Apr 10 09:39:41 2013 +1000
+++ b/publish/processing.js	Tue May 28 15:15:10 2013 +1000
@@ -47,7 +47,7 @@
   var isSVG2 = conf.shortTitle == 'SVG 2';
   // Add a link to the default style sheet.
   doc.head.appendChild(utils.parse('<link rel="stylesheet" title="Default" href="{{href}}" type="text/css" media="screen"/>',
-                                   { href: conf.maturity == 'ED' && !isSVG2 ? 'style/default_svg.css' : 'style/default_no_maturity.css' }));
+                                   { href: conf.maturity == 'ED' && isSVG2 ? 'style/default_svg.css' : 'style/default_no_maturity.css' }));
 
   if (isSVG2) {
     // Add a link to alternate style sheet to hide background colors