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 ...@@ -250,7 +250,7 @@ class App
@user_filter = $filter('userName') @user_filter = $filter('userName')
search_query = '' search_query = ''
unless typeof(localStorage) is 'undefined' 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 console.log 'Loading back search query: ' + search_query
@visualSearch = VS.init @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