style(tabs): fix linter errors, change log to debug

This commit is contained in:
Brandy Carney
2016-06-08 12:08:57 -04:00
parent c67ce8c906
commit bc306c6ce8

View File

@@ -401,7 +401,7 @@ export class Tabs extends Ion {
previousTab(trimHistory: boolean = true): Tab {
// walk backwards through the tab selection history
// and find the first previous tab that is enabled and shown
console.log('run previousTab', this.selectHistory)
console.debug('run previousTab', this.selectHistory);
for (var i = this.selectHistory.length - 2; i >= 0; i--) {
var tab = this._tabs.find(t => t.id === this.selectHistory[i]);
if (tab && tab.enabled && tab.show) {