[Context] Back Arrow

Checks the Back Arrow in both checkRoot and
navigateToParent, also checks grandparent in both.
This allows the back arrow to hide in search when
context is unavailable.
This commit is contained in:
Shivam Dave
2015-08-27 10:42:11 -07:00
parent 8c4c65241a
commit 48136c2265
2 changed files with 32 additions and 16 deletions

View File

@@ -23,6 +23,6 @@
<!-- Back Arrow Icon used on mobile-->
<a ng-controller="BrowseController"
class='type-icon icon ui-symbol s-back'
ng-click='backArrow()'
ng-class="checkRoot(); atRoot ? 'hidden' : ''">{
ng-class="checkRoot(); atRoot ? 'hidden' : ''"
ng-click='backArrow()'>{
</a>