krisyotam
/
devdocs
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
History
Fix app.reset when db hasn't been initialized
TH
Thibaut
committed 11 years ago
Commit
5be260f
1 parent
485f218
1 file ·
+1
−1
Browse files
Unified
·
Split
assets/javascripts/app/app.coffee
+1
−1
@@ -126,7 +126,7 @@
· 125 unmodified lines
126
126
reset: ->
127
127
@store.clear()
128
128
@settings.reset()
129
−
@db.reset()
129
+
@db
?
.reset()
130
130
@appCache?.update()
131
131
window.location = '/'
132
132
return