Skip to content

Commit

Permalink
Strip single quotes as well as double from pie-load-path
Browse files Browse the repository at this point in the history
  • Loading branch information
betalb committed Feb 27, 2012
1 parent 0c0087f commit a1ac21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/htc_script.js
Expand Up @@ -32,7 +32,7 @@ if ( !window[ 'PIE' ] && docMode < 10 ) {
// Look for a custom -pie-load-path, or fall back to the CDN url
baseUrl = doc.documentElement.currentStyle.getAttribute( ( isIE6 ? '' : '-' ) + 'pie-load-path' );
if( baseUrl ) {
baseUrl = baseUrl.replace(/^"|"$/g, '');
baseUrl = baseUrl.replace(/^("|')|("|')$/g, '');
baseUrls = [ baseUrl ];
}

Expand Down

0 comments on commit a1ac21f

Please sign in to comment.