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 1f8377f157
commit 4b3000f8a2

View File

@ -67,7 +67,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));