Skip to content

Commit

Permalink
Fixed test errors in browsers which don’t support csscolumns: subprop…
Browse files Browse the repository at this point in the history
…erties were being tested when the root property was `false`
  • Loading branch information
stucox committed Mar 4, 2014
1 parent f5ceb8b commit 32f29c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/js/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ test('html classes are looking good',function(){
return Modernizr[aclass];
}
else if (classSplit.length == 2) {
return Modernizr[classSplit[0]][classSplit[1]];
return Modernizr[classSplit[0]] &&
Modernizr[classSplit[0]][classSplit[1]];
}
};

Expand Down

0 comments on commit 32f29c2

Please sign in to comment.