Hi,
I'm trying to destroy an instance with Modernizr.mq of fitheigh freewall because ux on touch screen is not so good.
Can you help me ?
Thanks in advance
$(window).on('resize',function(){
if (Modernizr.mq('only screen and (max-width: 768px)')) {
wall.reset();
// wall.destroy() ????
$('.brick').removeAttr('style'); // affect not all the bricks
}else{
wall.fitHeight($('.layout').height());
}
});
I'm sorry, it haven't destroy method. For temporary solution for you right now I think you should check with Modernizr and not init Freewall.
I will provide the destroy method later.
Hi, I'm trying to destroy an instance with Modernizr.mq of fitheigh freewall because ux on touch screen is not so good.
Can you help me ?
Thanks in advance