diff --git a/src/components/Article.vue b/src/components/Article.vue index c617540225ef7beba96c44f47540d6624816a20d..2e4b1fbf507d31f0ddcce685e1c2d2bb7d27985e 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -141,8 +141,6 @@ export default { }, methods: { parse_definitions: function(node) { - //console.log(entities["nn"]["overf"]) - let definitionTexts = [] node.forEach((definition) => { @@ -198,11 +196,9 @@ export default { this.collapsed = true }, article_link_click: function(item) { - console.log("LINK CLICK ARTIClE") this.$emit('article-click', item) }, details_click: function(item) { - console.log("DETAILS ARTICLE") item.title_id = this.title_id this.$emit('details-click', item) } diff --git a/src/components/CompoundList.vue b/src/components/CompoundList.vue index 9293e7d801100eeb7dd8b64b43acd4a5bede7b63..fd02c8520342469b2dd9c1ca9ae2aedc03a208f8 100644 --- a/src/components/CompoundList.vue +++ b/src/components/CompoundList.vue @@ -28,7 +28,6 @@ export default { }, methods: { article_link_click: function(item) { - console.log("COMPOUND") this.$emit('article-click', item) } } diff --git a/src/components/DefElement.vue b/src/components/DefElement.vue index 34b224bf9b2c4092d8d51bf9c0a627f7ac211140..20a2491c9c2605fd9e9767ecedc483a39e649a33 100644 --- a/src/components/DefElement.vue +++ b/src/components/DefElement.vue @@ -94,7 +94,6 @@ export default { }, methods: { article_link_click: function(item) { - console.log("DEFELEMENT LINK", item) this.$emit('article-click', item) }, roman_hgno: helpers.roman_hgno diff --git a/src/components/Definition.vue b/src/components/Definition.vue index 8ab55dd56c7dab249d04e15377b89819bc0e88c5..9959162fb8cdca0567eb9d68b55e767254b24359 100644 --- a/src/components/Definition.vue +++ b/src/components/Definition.vue @@ -66,7 +66,6 @@ var Definition = { }, methods: { article_link_click: function(item) { - console.log("DEF LINK") this.$emit('article-click', item) }, has_article_ref: function(item){ diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 8b497c5d707c4ee6b2f3bbb76ca0f479b947439c..17d38c1e9db665b8c5570d2d4e903a8e8d321db3 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -428,20 +428,16 @@ export default { }, article_link_click: function(item) { - console.log("ARTICLE DICT") if (this.article && this.article.article_id == item.article_id){ this.article_key++ this.replace_history() - console.log("ARTICLE LINK A") }else{ - console.log("ARTICLE LINK B") navigate_to_article(this, item.source) } }, details_click: function(item) { this.article = item.article - console.log("DETAILS DICT") this.replace_history() }, return_to_results: function() { @@ -507,8 +503,6 @@ export default { }, watch: { $route(to, from) { - console.log("TO", to) - console.log("FROM", from) if (to.fullPath == "/") { this.load_monthly_bm() this.load_monthly_nn() @@ -522,7 +516,6 @@ export default { let self = this window.onpopstate = function (event) { if (event.state) { - console.log("POP") self.article = event.state.article self.search_results = event.state.search_results self.lang = event.state.lang diff --git a/src/main.js b/src/main.js index 8bd0038c01bd567b0a9515015f2fce9b7689ff23..2e31d7d5b9ffb0e228c2764c638ab90418ecb4b6 100644 --- a/src/main.js +++ b/src/main.js @@ -67,7 +67,6 @@ const router = new VueRouter({ { path: 'nob/*', redirect: to => { - console.log(to) return "nn/" + to.params.pathMatch } }, @@ -100,7 +99,6 @@ const store = new Vuex.Store({ }, mutations: { initStore(state) { - console.log("INIT_STATE",state) state.showSearchToolbar = localStorage.getItem('showSearchToolbar') || false state.showInflectionNo = localStorage.getItem('showInflectionNo') || false state.currentLocale = localStorage.getItem('currentLocale')