Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
NAP-wordpress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marwa Sfari
NAP-wordpress
Commits
943657d8
Commit
943657d8
authored
Sep 22, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]CLick variation on catalog page
parent
112f3942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product.js
wp-content/themes/nap/assets/js/product.js
+1
-1
No files found.
wp-content/themes/nap/assets/js/product.js
View file @
943657d8
...
@@ -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});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment