Subversion Repositories SmartDukaan

Rev

Rev 20715 | Rev 20753 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20715 Rev 20716
Line 557... Line 557...
557
        properties.sku = String($(that).data('id'));
557
        properties.sku = String($(that).data('id'));
558
        properties.source = String($(that).data('source'));
558
        properties.source = String($(that).data('source'));
559
        properties.url = encodeURIComponent($(that).data('url'));
559
        properties.url = encodeURIComponent($(that).data('url'));
560
        properties.price = String($(that).data('price'));
560
        properties.price = String($(that).data('price'));
561
        pma.send('products','url','click',me,properties);
561
        pma.send('products','url','click',me,properties);
562
  		}, 200);
562
  		}, 400);
563
    });
563
    });
564
    $(document).on('click','.likeit',function(e){   
564
    $(document).on('click','.likeit',function(e){   
565
        var that = $(this);
565
        var that = $(this);
566
        if($(that).find('span.likedeal').hasClass('active')){
566
        if($(that).find('span.likedeal').hasClass('active')){
567
            //User has already liked it,so remove like
567
            //User has already liked it,so remove like