Skip to content
Snippets Groups Projects
Commit e9735514 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

fikser meta#150

parent b4bde60e
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ window.onpopstate = function (event) {
function navigate_to_article(self, article_id) {
axios.get(self.api_pref + '' + article_id)
.then(function(response){
self.article = response.data._source
self.article = response.data
self.waiting = false
history.replaceState({article: self.article, search_results: self.search_results, lang: self.lang}, '')
})
......
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