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.
This commit is contained in:
kissge 2016-02-19 11:44:40 +09:00
parent 8394d8f0f2
commit e1de767f34

View File

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