mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
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:
@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user