Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(anchorScroll): correct word "location"
Browse files Browse the repository at this point in the history
  • Loading branch information
murilobr authored and pkozlowski-opensource committed Dec 19, 2012
1 parent 6aac690 commit 59d9b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/anchorScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 59d9b89

Please sign in to comment.