From: Joris van Zundert Date: Thu, 20 Sep 2012 07:15:43 +0000 (+0200) Subject: Stexaminer stemma scaling cross browser fix. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d301abf920602eb64e3e47835c62393e01b768d;p=scpubgit%2Fstemmaweb.git Stexaminer stemma scaling cross browser fix. --- diff --git a/root/js/stexaminer.js b/root/js/stexaminer.js index 67bd657..a846cd0 100644 --- a/root/js/stexaminer.js +++ b/root/js/stexaminer.js @@ -48,7 +48,7 @@ function loadSVG(svgData, cb) { if( cb ) { cb.call(); } - theSVG.width( "100%" ); + theSVG.attr( 'width', '100%' ); } }); }