aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMurilo da Silva2012-11-29 22:56:02 -0200
committerPawel Kozlowski2012-12-19 21:14:09 +0100
commit4fe4e7457cbc199d5082501c0c55c435801cdcb8 (patch)
treefbae6eafd62068cacfb57caf4c42e40b7eb7bba5 /src
parentd4e7274d4b6e64da24a834316946416978f84cc1 (diff)
downloadangular.js-4fe4e7457cbc199d5082501c0c55c435801cdcb8.tar.bz2
docs(anchorScroll): correct word "location"
Diffstat (limited to 'src')
-rw-r--r--src/ng/anchorScroll.js2
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() {