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

Commit b32a767

Browse files
committed
fix($anchorScroll): added missing line after rebasing on master
1 parent 1a48a7d commit b32a767

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: src/ng/anchorScroll.js

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ function $AnchorScrollProvider() {
278278
// skip the initial scroll if $location.hash is empty
279279
if (newVal === oldVal && newVal === '') return;
280280

281+
scrollWhenReady();
281282
});
282283
}
283284

Diff for: test/ng/anchorScrollSpec.js

-1
Original file line numberDiff line numberDiff line change
@@ -591,4 +591,3 @@ ddescribe('$anchorScroll', function() {
591591
});
592592
});
593593
});
594-

0 commit comments

Comments
 (0)