mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
fix($autoScroll): scroll even if $location is in html5 mode
+ use autoscroll in docs (ng:include)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user