mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
2
js/angular/controller/tabsController.js
vendored
2
js/angular/controller/tabsController.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user