Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
chore(dropdown): clean up code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Oct 19, 2015
1 parent 3144633 commit 13be7b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.position'])
if (!angular.isNumber(self.selectedOption)) {
self.selectedOption = 0;
} else {
self.selectedOption = (self.selectedOption === elems.length -1 ?
self.selectedOption = (self.selectedOption === elems.length - 1 ?
self.selectedOption :
self.selectedOption + 1);
}
Expand Down Expand Up @@ -656,4 +656,3 @@ angular.module('ui.bootstrap.dropdown')
}
};
}]);

0 comments on commit 13be7b7

Please sign in to comment.