Skip to content

Commit

Permalink
Fixed a bug where the generated flow name was invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
mibalan committed Apr 10, 2012
1 parent c74ef80 commit e798443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/css-regions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Modernizr.addTest('regions', function() {
region = document.createElement('div'),
/* we create a random, unlikely to be generated flow number to make sure we don't
clash with anything more vanilla, like 'flow', or 'article', or 'f1' */
flowName = 'modernizr_flow_' + (Math.random() * 1000000);
flowName = 'modernizr_flow_for_regions_check';

/* First create a div with two adjacent divs inside it. The first will be the
content, the second will be the region. To be able to distinguish between the two,
Expand Down

0 comments on commit e798443

Please sign in to comment.