+function($){ if (window == frames.top) return; $(function(){ //$('#main').appendTo($('body').empty()); if ($('#wpadminbar').length) { $('#wpadminbar').hide(); $('html')[0].style.setProperty('margin-top','0','important'); } $video = $('.wp-video,#smartideo,.fluid-width-video-wrapper,embed[type="application/x-shockwave-flash"]'); if ($video.length==1) { $video.css({'width':'100%','height':$(window).height()}).appendTo($('body').css({'overflow':'hidden','background':'#000'})); if ($video.is('#smartideo')) { $(window).resize(function() { $('#smartideo .player').css('height', $(window).innerHeight()); }); } $('#page').hide(); $('.site-footer').hide(); $(window).resize(); } else { $('.site-header').hide(); $('.site-footer').hide(); $('#comments').hide(); $('#primary').addClass('col-md-12').removeClass('col-md-9'); $('#secondary').hide(); $('.post-navigation').hide(); $('.fp-content-area').hide(); $('.header-image').css('margin-top','-120px'); } }); }(jQuery); +function($) { $('a.mfpopup').magnificPopup({ disableOn: 700, mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: true }); }(jQuery); +function($) { $('.meta-post .cat-links a').each(function() { var $this = $(this); $('').text($this.text()).appendTo($this.empty()); }) }(jQuery);