fix no query params case

This commit is contained in:
David Tai
2017-08-08 12:32:14 -05:00
parent 844cf448b2
commit bf2ef6a089
+1 -1
View File
@@ -125,7 +125,7 @@ if window?
return cachedPageViewId
getQueryParams = ()->
return qs(window.location.search || window.location.hash.split('?')[1])
return qs(window.location.search ? window.location.hash.split('?')[1] ? '')
updatePage = ()->
record = getRecord()