1. Added support for styled subtitle in header

2. Added javascript detection for placeholder
3. Added backup style for search field with no-placeholder support
This commit is contained in:
Brandon Mathis 2011-06-08 18:58:00 -04:00
parent 901f4d7f29
commit a20dc08e10
7 changed files with 27 additions and 6 deletions

View file

@ -24,12 +24,17 @@ function addSidebarToggler() {
function testFeatures() {
var features = ['maskImage'];
$(features).map(function(feature){
if(Modernizr.testAllProps(feature)) {
if (Modernizr.testAllProps(feature)) {
$('html').addClass(feature);
} else {
$('html').addClass('no-'+feature);
}
});
if ("placeholder" in document.createElement("input")) {
$('html').addClass('placeholder');
} else {
$('html').addClass('no-placeholder');
}
}
function addDivLines(){