index general, fixe #541
This commit is contained in:
@@ -1940,32 +1940,32 @@
|
||||
}
|
||||
}
|
||||
|
||||
function initHome(){
|
||||
addCloseModalBtnToCols();
|
||||
return;
|
||||
console.log('theme : initHome');
|
||||
var $grid = $('.grid',_$row).masonry({
|
||||
itemSelector:'.col',
|
||||
columnWidth:'.col-2',
|
||||
horizontalOrder: true,
|
||||
containerStyle: null,
|
||||
// disable initial layout
|
||||
// initLayout: false,
|
||||
});
|
||||
// bind event
|
||||
// $grid.masonry( 'on', 'layoutComplete', function() {
|
||||
// console.log('layout is complete');
|
||||
// function initHome(){
|
||||
// addCloseModalBtnToCols();
|
||||
// return;
|
||||
// console.log('theme : initHome');
|
||||
// var $grid = $('.grid',_$row).masonry({
|
||||
// itemSelector:'.col',
|
||||
// columnWidth:'.col-2',
|
||||
// horizontalOrder: true,
|
||||
// containerStyle: null,
|
||||
// // disable initial layout
|
||||
// // initLayout: false,
|
||||
// });
|
||||
|
||||
// layout Masonry after each image loads
|
||||
$grid.imagesLoaded().progress( function() {
|
||||
$grid.masonry('layout');
|
||||
});
|
||||
|
||||
$grid.imagesLoaded(function(){
|
||||
$grid.masonry('layout');
|
||||
});
|
||||
}
|
||||
// // bind event
|
||||
// // $grid.masonry( 'on', 'layoutComplete', function() {
|
||||
// // console.log('layout is complete');
|
||||
// // });
|
||||
//
|
||||
// // layout Masonry after each image loads
|
||||
// $grid.imagesLoaded().progress( function() {
|
||||
// $grid.masonry('layout');
|
||||
// });
|
||||
//
|
||||
// $grid.imagesLoaded(function(){
|
||||
// $grid.masonry('layout');
|
||||
// });
|
||||
// }
|
||||
|
||||
// __ __ _ _
|
||||
// | \/ |___ __| |__ _| |___
|
||||
|
||||
Reference in New Issue
Block a user