Skip to content

Commit

Permalink
fixed default hasher
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthaleen committed Mar 24, 2015
1 parent 92f6c79 commit 48face6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/js/app/main-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ requirejs(['underscore-contrib', 'crossroads', 'hasher', 'ko', 'app/main-window'

//setup hasher
//only required if you want to set a default value
if(! hasher.getHash()) {
if(hasher.getHash().length < 1) {
hasher.setHash(DEFAULT_HASH);
}

Expand Down

0 comments on commit 48face6

Please sign in to comment.