Permalink
Browse files

Strip single quotes as well as double from `pie-load-path`

  • Loading branch information...
1 parent 0c0087f commit a1ac21fd4b2cc4f1f6fbf352d3534025ed52e517 @betalb betalb committed Feb 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/htc_script.js
View
@@ -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 ];
}

0 comments on commit a1ac21f

Please sign in to comment.