fixed bug with Modernizr classes not being added when a feature is not supported

This commit is contained in:
Brandon Mathis 2012-06-08 14:34:46 -05:00
parent fbb76e3c7c
commit 2444c2c804

View File

@ -68,7 +68,7 @@ var octopress = (function(){
}
getClass = function (test) {
return ((Modernizr.testAllProps(test) ? test : "no-"+features[i]).toLowerCase())
return ((Modernizr.testAllProps(test) ? test : "no-"+test).toLowerCase())
}
$('html').addClass(getTestClasses(features));