Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
60976770
Commit
60976770
authored
Jan 04, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add js
parent
b11e2ba6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
override.js
themes/custom/envigo/js/override.js
+12
-0
No files found.
themes/custom/envigo/js/override.js
View file @
60976770
...
@@ -186,4 +186,15 @@
...
@@ -186,4 +186,15 @@
$grid
.
masonry
(
'layout'
);
$grid
.
masonry
(
'layout'
);
});
});
$
(
'.h_nav_main li:last-child .header-nav-item-child-list a'
).
on
(
'click'
,
function
(
event
)
{
//event.preventDefault();
var
target
=
$
(
this
).
attr
(
'href'
);
var
idData
=
target
.
substr
(
target
.
indexOf
(
"#"
));
if
(
idData
.
length
)
{
$
(
'html, body'
).
animate
({
scrollTop
:
$
(
idData
).
offset
().
top
},
500
);
}
});
})(
jQuery
);
})(
jQuery
);
\ No newline at end of file
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