mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
ui: initialize color picker with the user's color
Initialize the color picker with user's current color. Was previously initialized with grey in Farbtastic library. Fixes #3617
This commit is contained in:
parent
ac9d7f80cc
commit
3e8b426847
1 changed files with 1 additions and 0 deletions
|
@ -809,6 +809,7 @@ function closeColorPicker(accept)
|
||||||
function showColorPicker()
|
function showColorPicker()
|
||||||
{
|
{
|
||||||
previousColorId = myUserInfo.colorId;
|
previousColorId = myUserInfo.colorId;
|
||||||
|
$.farbtastic('#colorpicker').setColor(myUserInfo.colorId)
|
||||||
|
|
||||||
if (!colorPickerOpen)
|
if (!colorPickerOpen)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue