Skip to content

Commit 706759f

Browse files
committed
Ajuste js
1 parent a5409d5 commit 706759f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

_site/CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
coderockr.com
1+
coderockr.com

_site/public/scripts/script.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $(document).ready(function() {
1616

1717
$(".mobile nav#menu a").click(function(){
1818
$("#openmenu").attr("checked",false);
19+
$("html, body").animate({scrollTop: 0}, 1000);
1920
});
2021

2122
$("#projetos > nav a").not("#projetos > nav.pages a").click(function(){

public/scripts/script.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $(document).ready(function() {
1616

1717
$(".mobile nav#menu a").click(function(){
1818
$("#openmenu").attr("checked",false);
19+
$("html, body").animate({scrollTop: 0}, 1000);
1920
});
2021

2122
$("#projetos > nav a").not("#projetos > nav.pages a").click(function(){

0 commit comments

Comments
 (0)