File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ $(document).ready(function() {
24
24
$ ( "#projects #slider" ) . slideBanners ( ) ;
25
25
$ ( "#projects #slider a" ) . modal ( ) ;
26
26
27
- $ ( "header nav a" ) . click ( function ( ) {
27
+ $ ( "header nav a, footer nav a, #home nav a " ) . click ( function ( ) {
28
28
var href = $ ( this ) . attr ( "href" ) ;
29
29
href = href . replace ( "#" , "" ) ;
30
30
$ ( 'html, body' ) . animate ( { scrollTop : $ ( "a[name=" + href + "]" ) . offset ( ) . top } , 1000 ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ $(document).ready(function() {
24
24
$ ( "#projects #slider" ) . slideBanners ( ) ;
25
25
$ ( "#projects #slider a" ) . modal ( ) ;
26
26
27
- $ ( "header nav a" ) . click ( function ( ) {
27
+ $ ( "header nav a, footer nav a, #home nav a " ) . click ( function ( ) {
28
28
var href = $ ( this ) . attr ( "href" ) ;
29
29
href = href . replace ( "#" , "" ) ;
30
30
$ ( 'html, body' ) . animate ( { scrollTop : $ ( "a[name=" + href + "]" ) . offset ( ) . top } , 1000 ) ;
You can’t perform that action at this time.
0 commit comments