|
|
@ -11,6 +11,10 @@ |
|
|
|
var style = isHorizontal ?
|
|
|
|
var style = isHorizontal ?
|
|
|
|
{ height: '80%', width: $container.width() } :
|
|
|
|
{ height: '80%', width: $container.width() } :
|
|
|
|
{ width: 'auto' }; |
|
|
|
{ width: 'auto' }; |
|
|
|
|
|
|
|
// stop any animation on container height / width
|
|
|
|
|
|
|
|
if ( $container.is(':animated') ) { |
|
|
|
|
|
|
|
$container.stop(); |
|
|
|
|
|
|
|
} |
|
|
|
$container.addClass('no-transition').css( style ); |
|
|
|
$container.addClass('no-transition').css( style ); |
|
|
|
setTimeout(function(){ |
|
|
|
setTimeout(function(){ |
|
|
|
$container.removeClass('no-transition').isotope({ layoutMode : mode }); |
|
|
|
$container.removeClass('no-transition').isotope({ layoutMode : mode }); |
|
|
|