We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a2509 commit da2a6c2Copy full SHA for da2a6c2
assets/js/controllers/lang.js
@@ -13,7 +13,6 @@ export function newLangController() {
13
tabs: [],
14
changeLanguage: function(index) {
15
debug('changeLanguage', index);
16
- let tab = this.tabs[index];
17
for (let i = 0; i < this.tabs.length; i++) {
18
let isActive = i === index;
19
this.tabs[i].active = isActive;
@@ -25,13 +24,6 @@ export function newLangController() {
25
24
debug('initLangs', tabs);
26
tabs[0].active = true;
27
this.tabs = tabs;
28
-
29
- return this.$nextTick(() => {
30
- let first = this.tabs[0];
31
- // Hide all but the first.
32
- for (let i = 1; i < this.tabs.length; i++) {}
33
- debug('first', first);
34
- });
35
}
36
};
37
0 commit comments