mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
doc(app): switch to use $last on ng-repeat
This commit is contained in:
parent
676d6e0040
commit
ddefb42445
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
|
|||
|
||||
$scope.navClass = function(page1, page2) {
|
||||
return {
|
||||
last: this.$position == 'last',
|
||||
last: this.$last,
|
||||
active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue