Skip to content

Commit

Permalink
#20 Moved the autoscroll=true parameter from the first <div ui-view> …
Browse files Browse the repository at this point in the history
…to the <body> tag. This helps with the page skipping down past the header, but when clicking from one page to the next, as in the case with the documentation tutorial boxes, the sub-page will still jump down on load.
  • Loading branch information
visuale committed Jun 17, 2015
1 parent 7fe45c8 commit ff24674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<title ng-bind="($state.current.title || title ) + ' | JBoss Forge'">JBoss Forge</title>
</head>

<body ng-controller="rootCtrl">
<body ng-controller="rootCtrl" autoscroll="true">
<!--================== BEGIN PAGE CONTENT ==================-->
<header class="navbar navbar-static-top">
<div class="dropup">
Expand Down Expand Up @@ -71,7 +71,7 @@
</header>

<!-- This is where the main content will be placed -->
<div ui-view autoscroll="true"></div>
<div ui-view ></div>

<!-- PAGE SECTION LINKS AND SUPPORT -->
<div class="page-section blue footer-links-support">
Expand Down

0 comments on commit ff24674

Please sign in to comment.