Skip to content

Commit

Permalink
Fix oppia#3585: Corrected arrows in exploration progress nav (oppia#3605
Browse files Browse the repository at this point in the history
)

* 3585: Added arrow requests

* 3585: Addressed review comments
  • Loading branch information
joshuacano authored and wxyxinyu committed Jul 9, 2017
1 parent aac1565 commit 804be38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
</style>

<ul class="oppia-progress-dot-list">
<li class="oppia-progress-arrow" ng-show="dots.length > 1"
<li class="oppia-progress-arrow" ng-show="dots.length > 1 && currentDotIndex > 0"
ng-class="{'oppia-progress-arrow-active' : currentDotIndex > 0}"
ng-click="decrementCurrentDotIndex()" tabindex="0">
<span class="sr-only" translate="I18N_PLAYER_BACK"></span>
Expand All @@ -117,7 +117,7 @@
<span class="oppia-icon-accessibility-label"><['I18N_PLAYER_CARD_NUMBER_TOOLTIP' | translate]><[$index +1]></span>
</span>
</li>
<li class="oppia-progress-arrow" ng-show="dots.length > 1"
<li class="oppia-progress-arrow" ng-show="dots.length > 1 && currentDotIndex !== dots.length - 1"
ng-class="{'oppia-progress-arrow-active' : currentDotIndex != dots.length - 1}"
ng-click="incrementCurrentDotIndex()" tabindex="0">
<span class="sr-only" translate="I18N_PLAYER_FORWARD"></span>
Expand Down

0 comments on commit 804be38

Please sign in to comment.