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

Commit 59d9b89

Browse files
murilobrpkozlowski-opensource
authored andcommitted
docs(anchorScroll): correct word "location"
1 parent 6aac690 commit 59d9b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/anchorScroll.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function $AnchorScrollProvider() {
5353
}
5454

5555
// does not scroll when user clicks on anchor link that is currently on
56-
// (no url change, no $locaiton.hash() change), browser native does scroll
56+
// (no url change, no $location.hash() change), browser native does scroll
5757
if (autoScrollingEnabled) {
5858
$rootScope.$watch(function autoScrollWatch() {return $location.hash();},
5959
function autoScrollWatchAction() {

0 commit comments

Comments
 (0)