Fix front page

This commit is contained in:
Anna Sidwell 2019-12-03 00:08:31 +01:00
parent 30d86673c5
commit 693e8c9665
1 changed files with 190 additions and 191 deletions

View File

@ -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);