Skip to content

Commit

Permalink
got rid of an m flag - not needed in this case.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed May 30, 2011
1 parent ef19727 commit deb5ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion respond.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion respond.src.js
Expand Up @@ -73,7 +73,7 @@

//find media blocks in css text, convert to style blocks
translate = function( styles, href, media ){
var qs = styles.match( /@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gmi ),
var qs = styles.match( /@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi ),
ql = qs && qs.length || 0,
//try to get CSS path
href = href.substring( 0, href.lastIndexOf( "/" )),
Expand Down

0 comments on commit deb5ebc

Please sign in to comment.