mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
fixed bug with Modernizr classes not being added when a feature is not supported
This commit is contained in:
parent
1f8377f157
commit
4b3000f8a2
@ -67,7 +67,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