diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-01 11:38:44 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-01 11:38:44 +0200 |
commit | cdf3fd3b91ead90aba37d9a5e0cb3f0c68101f9c (patch) | |
tree | d7a7753f6189b13a1531eeaca024f81d42620277 /templates | |
parent | b4f45e7971ffb2060c66a54e0cfcdc0efa7b3765 (diff) |
scroll to bottom when you click on show all to make it easier to click the button again, fix #296
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.showall.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/part.showall.php b/templates/part.showall.php index 331293987..4f21daf6d 100644 --- a/templates/part.showall.php +++ b/templates/part.showall.php @@ -1,7 +1,12 @@ -<li ui-if="!feedBusinessLayer.isShowAll() && feedBusinessLayer.getNumberOfFeeds() > 0" class="show-all"> - <a ng-click="feedBusinessLayer.setShowAll(true)" href="#"><?php p($l->t('Show all')); ?></a> +<li ui-if="!feedBusinessLayer.isShowAll() && feedBusinessLayer.getNumberOfFeeds() > 0" + class="show-all"> + <a ng-click="feedBusinessLayer.setShowAll(true)" + href="#" + news-click-scroll="{direction: 'down', scrollArea: '#app-navigation > ul'}"><?php p($l->t('Show all')); ?></a> </li> -<li ui-if="feedBusinessLayer.isShowAll() && feedBusinessLayer.getNumberOfFeeds() > 0" class="show-all"> - <a ng-click="feedBusinessLayer.setShowAll(false)" href="#"><?php p($l->t('Show only unread')); ?></a> +<li ui-if="feedBusinessLayer.isShowAll() && feedBusinessLayer.getNumberOfFeeds() > 0" + class="show-all"> + <a ng-click="feedBusinessLayer.setShowAll(false)" + href="#"><?php p($l->t('Show only unread')); ?></a> </li> |