aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/anchorScroll.js
diff options
context:
space:
mode:
authorMurilo da Silva2012-11-29 22:56:02 -0200
committerPawel Kozlowski2012-12-19 21:01:41 +0100
commit59d9b89852805ad08e8e3bc2f80625b9697dc768 (patch)
tree7e4565a1f63fedc24ad052bbb3dc77f353cd9cce /src/ng/anchorScroll.js
parent6aac69039ea43f8c501c9c64031a6bd989832b0f (diff)
downloadangular.js-59d9b89852805ad08e8e3bc2f80625b9697dc768.tar.bz2
docs(anchorScroll): correct word "location"
Diffstat (limited to 'src/ng/anchorScroll.js')
-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() {