mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
fixed bug with Modernizr classes not being added when a feature is not supported
This commit is contained in:
parent
fbb76e3c7c
commit
2444c2c804
@ -68,7 +68,7 @@ var octopress = (function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
getClass = function (test) {
|
getClass = function (test) {
|
||||||
return ((Modernizr.testAllProps(test) ? test : "no-"+features[i]).toLowerCase())
|
return ((Modernizr.testAllProps(test) ? test : "no-"+test).toLowerCase())
|
||||||
}
|
}
|
||||||
|
|
||||||
$('html').addClass(getTestClasses(features));
|
$('html').addClass(getTestClasses(features));
|
||||||
|
Loading…
Reference in New Issue
Block a user