mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(anchorScroll): correct word "location"
This commit is contained in:
parent
d4e7274d4b
commit
4fe4e7457c
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue