diff webapp/src/main/webapp/jquery/svg/jquery.svganim.js @ 1151:139ad480333b

update jquery svg plugin to ver. 1.4.6
author hertzhaft
date Mon, 26 Nov 2012 23:49:41 +0100
parents 301ef9bf1965
children
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/svg/jquery.svganim.js	Mon Nov 26 16:44:57 2012 +0100
+++ b/webapp/src/main/webapp/jquery/svg/jquery.svganim.js	Mon Nov 26 23:49:41 2012 +0100
@@ -1,5 +1,5 @@
 /* http://keith-wood.name/svg.html
-   SVG attribute animations for jQuery v1.4.4.
+   SVG attribute animations for jQuery v1.4.5.
    Written by Keith Wood (kbwood{at}iinet.com.au) June 2008.
    Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and 
    MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses. 
@@ -277,9 +277,9 @@
 	elem = $(elem);
 	var colour;
 	do {
-		colour = elem.attr(attr) || elem.css(attr);
+		colour = elem.attr(attr) || elem.css(attr);
 		// Keep going until we find an element that has colour, or exit SVG
-		if ((colour != '' && colour != 'none') || elem.hasClass('hasSVG')) {
+		if ((colour != '' && colour != 'none') || elem.hasClass($.svg.markerClassName)) {
 			break; 
 		}
 	} while (elem = elem.parent());