点击工作`上只有一次

时间:2016-07-08 07:23:58

标签: jquery

我在第二次点击功能上m using挑选library and I have a problem trigger pickery`

$(document).on('click', 'menu li', function(){
    check_content();
});
function check_content(type){
    content.html('');
    content.imagesLoaded()
    .done(function(instance){
        content.fadeIn(500, function(){
            content.packery({itemSelector: '.photo', gutter: 10});
            loader.fadeOut(500);
        });

    });
};

0 个答案:

没有答案