diff options
| author | Murilo da Silva | 2012-11-29 22:56:02 -0200 |
|---|---|---|
| committer | Pawel Kozlowski | 2012-12-19 21:01:41 +0100 |
| commit | 59d9b89852805ad08e8e3bc2f80625b9697dc768 (patch) | |
| tree | 7e4565a1f63fedc24ad052bbb3dc77f353cd9cce /src/ng | |
| parent | 6aac69039ea43f8c501c9c64031a6bd989832b0f (diff) | |
| download | angular.js-59d9b89852805ad08e8e3bc2f80625b9697dc768.tar.bz2 | |
docs(anchorScroll): correct word "location"
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/anchorScroll.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/anchorScroll.js b/src/ng/anchorScroll.js index 87867589..0ddc9c78 100644 --- a/src/ng/anchorScroll.js +++ b/src/ng/anchorScroll.js @@ -53,7 +53,7 @@ function $AnchorScrollProvider() { } // does not scroll when user clicks on anchor link that is currently on - // (no url change, no $locaiton.hash() change), browser native does scroll + // (no url change, no $location.hash() change), browser native does scroll if (autoScrollingEnabled) { $rootScope.$watch(function autoScrollWatch() {return $location.hash();}, function autoScrollWatchAction() { |
