Commit 943657d8 authored by imac's avatar imac

[Bugfix]CLick variation on catalog page

parent 112f3942
...@@ -354,7 +354,7 @@ $(function(){ ...@@ -354,7 +354,7 @@ $(function(){
$(document).on('click', '.product-list article img, .product-list article ul li',function() { $(document).on('click', '.product-list article img, .product-list article ul li',function() {
//localStorage['from-site'] = true; //localStorage['from-site'] = true;
$('head').append($('.header-shop')); $('head').append($('.header-shop'));
var toLink = $(this).data('link'); var toLink = $(this).attr('data-link');
$(document).attr("title", $(this).data('title')); $(document).attr("title", $(this).data('title'));
// $(document).attr("description", $(this).data('description')); // $(document).attr("description", $(this).data('description'));
// $.post(toLink, { fromSite: true}); // $.post(toLink, { fromSite: true});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment