mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 00:48:05 +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 #342.
This commit is contained in:
parent
8394d8f0f2
commit
e1de767f34
@ -79,7 +79,7 @@ function loadWalletlUsers(cbFunc, cbArg) {
|
||||
|
||||
function loadScreenName() {
|
||||
if( $.localStorage.isSet("defaultScreenName") ) {
|
||||
defaultScreenName = $.localStorage.get("defaultScreenName");
|
||||
defaultScreenName = $.localStorage.get("defaultScreenName").toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user