diff options
-rw-r--r-- | assets/js/controllers/lang.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/assets/js/controllers/lang.js b/assets/js/controllers/lang.js index eed1fb8..02419e1 100644 --- a/assets/js/controllers/lang.js +++ b/assets/js/controllers/lang.js @@ -13,7 +13,6 @@ export function newLangController() { tabs: [], changeLanguage: function(index) { debug('changeLanguage', index); - let tab = this.tabs[index]; for (let i = 0; i < this.tabs.length; i++) { let isActive = i === index; this.tabs[i].active = isActive; @@ -25,13 +24,6 @@ export function newLangController() { debug('initLangs', tabs); tabs[0].active = true; this.tabs = tabs; - - return this.$nextTick(() => { - let first = this.tabs[0]; - // Hide all but the first. - for (let i = 1; i < this.tabs.length; i++) {} - debug('first', first); - }); } }; } |