Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit a1ac21fd4b2cc4f1f6fbf352d3534025ed52e517 1 parent 0c0087f
@betalb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sources/htc_script.js
View
2  sources/htc_script.js
@@ -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 ];
}
Please sign in to comment.
Something went wrong with that request. Please try again.