Skip to content
Snippets Groups Projects
Commit 91430e15 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Disable old search function

parent 3a6d9fc5
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment