Commit de692fce authored by csillag's avatar csillag

Fix bug when searching for the first time in a browser

parent cdedbb2a
......@@ -250,7 +250,7 @@ class App
@user_filter = $filter('userName')
search_query = ''
unless typeof(localStorage) is 'undefined'
search_query = localStorage.getItem("hyp_page_search_query")
search_query = localStorage.getItem("hyp_page_search_query") or ""
console.log 'Loading back search query: ' + search_query
@visualSearch = VS.init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment