mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
refactor js
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
jQuery(document).ready(function($) {
|
||||
( function ( document, $, undefined ) {
|
||||
'use strict';
|
||||
|
||||
$(".big-leader").css({'height':($(window).height())-([BackStretchVars.height])+'px'});
|
||||
$(".big-leader").backstretch([BackStretchVars.src],{'fade':750});
|
||||
});
|
||||
$( '.big-leader' ).css( { 'height': ( $(window).height() ) - ([BackStretchVars.height]) + 'px' });
|
||||
$( '.big-leader' ).backstretch( [BackStretchVars.src], { 'fade':750 } );
|
||||
|
||||
})( this, jQuery );
|
||||
|
||||
Reference in New Issue
Block a user