Skip to content

Commit 16a76ca

Browse files
committed
Fix language filter on load, take 2
Fixes #74
1 parent 7fd543c commit 16a76ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎assets/js/controllers/lang.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ export function newLangController() {
2222
},
2323
initLangs: function(tabs) {
2424
debug('initLangs', tabs);
25-
this.changeLanguage(0);
2625
tabs[0].active = true;
2726
this.tabs = tabs;
27+
28+
return this.$nextTick(() => {
29+
this.changeLanguage(0);
30+
});
2831
}
2932
};
3033
}

0 commit comments

Comments
 (0)