Fix front page
This commit is contained in:
parent
30d86673c5
commit
693e8c9665
@ -13,7 +13,6 @@
|
||||
xsmall: "(max-width: 480px)"
|
||||
});
|
||||
|
||||
$(function() {
|
||||
var $window = $(window),
|
||||
$body = $("body"),
|
||||
$wrapper = $("#page-wrapper"),
|
||||
@ -30,8 +29,9 @@
|
||||
});
|
||||
|
||||
// Mobile?
|
||||
if (skel.vars.mobile) $body.addClass("is-mobile");
|
||||
else
|
||||
if (skel.vars.mobile) {
|
||||
$body.addClass("is-mobile");
|
||||
} else {
|
||||
skel
|
||||
.on("-medium !medium", function() {
|
||||
$body.removeClass("is-mobile");
|
||||
@ -39,6 +39,7 @@
|
||||
.on("+medium", function() {
|
||||
$body.addClass("is-mobile");
|
||||
});
|
||||
}
|
||||
|
||||
// Fix: Placeholder polyfill.
|
||||
$("form").placeholder();
|
||||
@ -186,6 +187,4 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
||||
|
||||
|
Reference in New Issue
Block a user