diff --git a/loadCSS.js b/loadCSS.js
index <HASH>..<HASH> 100644
--- a/loadCSS.js
+++ b/loadCSS.js
@@ -33,7 +33,7 @@ function loadCSS( href, before, media, callback ){
 	ss.onloadcssdefined = function( cb ){
 		var defined;
 		for( var i = 0; i < sheets.length; i++ ){
-			if( sheets[ i ].href && sheets[ i ].href.indexOf( href ) > -1 ){
+			if( sheets[ i ].href && sheets[ i ].href === ss.href ){
 				defined = true;
 			}
 		}
allow relative paths to work. fixes #<I>