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
bdeda2b7
Commit
bdeda2b7
authored
Jul 19, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]Stop close mozaique when clic download
parent
3a9e0a9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.js
wp-content/themes/nap/assets/js/main.js
+0
-3
product.js
wp-content/themes/nap/assets/js/product.js
+3
-0
No files found.
wp-content/themes/nap/assets/js/main.js
View file @
bdeda2b7
...
@@ -6,9 +6,6 @@ $(function(){
...
@@ -6,9 +6,6 @@ $(function(){
$
(
'a[href^="#"], .easyzoom a'
).
click
(
function
(
e
){
$
(
'a[href^="#"], .easyzoom a'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
});
});
$
(
'.download-btn'
).
click
(
function
(
e
){
e
.
stopPropagation
();
});
//load content page on left Panel
//load content page on left Panel
$
(
'.footer .right li:not(.nl)'
).
on
(
'click'
,
'a'
,
function
(
e
){
$
(
'.footer .right li:not(.nl)'
).
on
(
'click'
,
'a'
,
function
(
e
){
$
(
'html'
).
css
(
'overflow'
,
'hidden'
);
$
(
'html'
).
css
(
'overflow'
,
'hidden'
);
...
...
wp-content/themes/nap/assets/js/product.js
View file @
bdeda2b7
...
@@ -124,6 +124,9 @@ $('.product-list article img, .product-list article ul li').on('click', function
...
@@ -124,6 +124,9 @@ $('.product-list article img, .product-list article ul li').on('click', function
$
.
fn
.
productAnimation
();
$
.
fn
.
productAnimation
();
$
(
'#product .product-list'
).
showRightPanel
();
$
(
'#product .product-list'
).
showRightPanel
();
},
800
)
},
800
)
$
(
'.download-btn'
).
click
(
function
(
e
){
e
.
stopPropagation
();
});
});
});
})
})
});
});
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