diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 901ea4fe9909c6afc5d4a6817f3933271d6fb97a..c04a476c51a206397bcc2af90c9a58d93b2ee53c 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -124,6 +124,7 @@ function navigate_to_article(self, source) { }) } +/* function navigate_to_search(self, query) { axios.get(self.api_pref + 'search?q=' + query, { headers: {"x-api-key":"ZkYiyRVXxH86ijsvhx3cH4SY5Iik2ijI3BKVJGMm"}}) // API-key to be removed or reimplemented with a ci-variable with the new API .then(function(response){ @@ -149,6 +150,7 @@ function navigate_to_search(self, query) { history.replaceState({article: self.article, search_results: self.search_results, lang: self.lang, error: self.error}, '') }) } +*/ function navigate_to_word(self, word) {