diff options
| author | Vojta Jina | 2011-11-15 11:56:13 -0800 | 
|---|---|---|
| committer | Vojta Jina | 2011-11-21 17:49:49 -0800 | 
| commit | 3548fe31398c1287817e486577a08902cf916a61 (patch) | |
| tree | eb27a7dc3d697be15c235aaccdb4a61bf390befa /docs/src | |
| parent | 29f9e2665d8b771a6226870fc8fd2c4c94d7a2c0 (diff) | |
| download | angular.js-3548fe31398c1287817e486577a08902cf916a61.tar.bz2 | |
feat(service.$autoScroll): scroll to hash fragment
- whenever hash part of the url changes
- after ng:view / ng:include load
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/templates/docs.js | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index 2a9f62a8..995d8bf9 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -75,7 +75,6 @@ function DocsController($location, $window, $cookies, $filter) {      scope.loading--;      scope.partialTitle = scope.futurePartialTitle;      SyntaxHighlighter.highlight(); -    $window.scrollTo(0,0);      $window._gaq.push(['_trackPageview', currentPageId]);      loadDisqus(currentPageId);    }; | 
