mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(tabs): fix linter errors, change log to debug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user