Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($) {
- skel.breakpoints({
- xlarge: '(max-width: 1680px)',
- large: '(max-width: 1280px)',
- medium: '(max-width: 980px)',
- small: '(max-width: 736px)',
- xsmall: '(max-width: 480px)',
- xxsmall: '(max-width: 360px)'
- });
- $(function() {
- var $window = $(window),
- $body = $('body'),
- $wrapper = $('#wrapper'),
- $header = $('#header'),
- $footer = $('#footer'),
- $main = $('#main'),
- $main_articles = $main.children('article');
- // Disable animations/transitions until the page has loaded.
- $body.addClass('is-loading');
- $window.on('load', function() {
- window.setTimeout(function() {
- $body.removeClass('is-loading');
- }, 100);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement