aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorVojta Jina2012-01-12 02:29:26 -0800
committerVojta Jina2012-01-13 01:01:26 -0800
commit249c89c0911254873c68cd753d903ea5606344ac (patch)
treeee89b4d54ce20eabcaad625debbc0b282afdee74 /docs/src
parent5164ae545b10723b4e9ec454f436f6698dc93e24 (diff)
downloadangular.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.html6
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">