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

cleanup

parent f08f1fc4
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,6 @@ function navigate_to_query(self, word) { ...@@ -225,7 +225,6 @@ function navigate_to_query(self, word) {
let article_queries = [] let article_queries = []
if (self.lang == "bm" || self.lang == "bm,nn") article_queries.push(load_articles(self, query, 0, 10, "bm")) if (self.lang == "bm" || self.lang == "bm,nn") article_queries.push(load_articles(self, query, 0, 10, "bm"))
if (self.lang == "nn" || self.lang == "bm,nn") article_queries.push(load_articles(self, query, 0, 10, "nn")) if (self.lang == "nn" || self.lang == "bm,nn") article_queries.push(load_articles(self, query, 0, 10, "nn"))
console.log(article_queries)
Promise.all(article_queries) Promise.all(article_queries)
.then(() => { .then(() => {
self.waiting_for_articles = false self.waiting_for_articles = false
......
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