1
0
mirror of https://github.com/twisterarmy/twister-html.git synced 2025-01-15 17:29:58 +00:00

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

@ -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();
} }
} }