Browse Source

Make sure defaultScreenName is loaded as a string value

This fixes the problem that users with screen name consisting only digit characters cannot login.
See #342.
readme-update
kissge 9 years ago
parent
commit
e1de767f34
  1. 2
      js/twister_user.js

2
js/twister_user.js

@ -79,7 +79,7 @@ function loadWalletlUsers(cbFunc, cbArg) {
function loadScreenName() { function loadScreenName() {
if( $.localStorage.isSet("defaultScreenName") ) { if( $.localStorage.isSet("defaultScreenName") ) {
defaultScreenName = $.localStorage.get("defaultScreenName"); defaultScreenName = $.localStorage.get("defaultScreenName").toString();
} }
} }

Loading…
Cancel
Save