mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
fixed the backward compatility to old colorIds
This commit is contained in:
parent
6c354c6333
commit
4f233d88f8
4 changed files with 14 additions and 8 deletions
|
@ -226,12 +226,6 @@ function handshake()
|
|||
clientVars = obj;
|
||||
clientVars.userAgent = "Anonymous";
|
||||
clientVars.collab_client_vars.clientAgent = "Anonymous";
|
||||
|
||||
//translate old colorIDs to RGB strings
|
||||
if(typeof clientVars.userColor == "number")
|
||||
{
|
||||
clientVars.userColor = clientVars.colorPalette[clientVars.userColor];
|
||||
}
|
||||
|
||||
//initalize the pad
|
||||
pad.init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue