Corrected error line 38 tabsController.js

Changed first letter of the first word in comment on line 38 to a capital letter to be consistent with other comments found in the file.
This commit is contained in:
David Goldberg
2015-05-07 15:39:59 -07:00
parent adea328d1b
commit 5ab697f447

View File

@@ -35,7 +35,7 @@ function($scope, $element, $ionicHistory) {
self.deselect(tab);
//Try to select a new tab if we're removing a tab
if (self.tabs.length === 1) {
//do nothing if there are no other tabs to select
//Do nothing if there are no other tabs to select
} else {
//Select previous tab if it's the last tab, else select next tab
var newTabIndex = tabIndex === self.tabs.length - 1 ? tabIndex - 1 : tabIndex + 1;