diff options
| author | Vojta Jina | 2012-01-12 02:29:26 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-13 01:01:26 -0800 |
| commit | 249c89c0911254873c68cd753d903ea5606344ac (patch) | |
| tree | ee89b4d54ce20eabcaad625debbc0b282afdee74 /docs/src | |
| parent | 5164ae545b10723b4e9ec454f436f6698dc93e24 (diff) | |
| download | angular.js-249c89c0911254873c68cd753d903ea5606344ac.tar.bz2 | |
fix($autoScroll): scroll even if $location is in html5 mode
+ use autoscroll in docs (ng:include)
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/templates/index.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 9054f095..6d93a2ad 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -117,10 +117,8 @@ <div class="content-panel"> <h2 ng:bind="partialTitle | title"></h2> - <ng:include id="content" - class="content-panel-content" - src="getCurrentPartial()" - onload="afterPartialLoaded()"></ng:include> + <ng:include id="content" class="content-panel-content" autoscroll + src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include> </div> <div id="disqus" class="content-panel"> |
