Browse files

scroll top on browser button click

  • Loading branch information...
1 parent d871ed0 commit 4d0e1a044166b02a4ae5f431558a1a5bd61ae9e5 @clipperhouse committed Feb 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/js/contentscript.js
View
1 src/js/contentscript.js
@@ -524,6 +524,7 @@
switch(request.type) {
case "go-home":
document.location.href = $("li#global-nav-home > a").href();
+ scroll(0,0);
break;
default:
}

0 comments on commit 4d0e1a0

Please sign in to comment.