Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bep/docuapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/js/controllers/lang.js8
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);
- });
}
};
}