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:
parent
901f4d7f29
commit
a20dc08e10
7 changed files with 27 additions and 6 deletions
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue