mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
beautify the colorpicker
This commit is contained in:
parent
b46c0e3b3c
commit
9db609ecc1
3 changed files with 4 additions and 4 deletions
|
@ -609,7 +609,7 @@ function closeColorPicker(accept) {
|
|||
}
|
||||
|
||||
colorPickerOpen = false;
|
||||
$("#mycolorpicker").css('display', 'none');
|
||||
$("#mycolorpicker").fadeOut("fast");
|
||||
}
|
||||
|
||||
function showColorPicker() {
|
||||
|
@ -641,10 +641,10 @@ function showColorPicker() {
|
|||
colorPickerSetup = true;
|
||||
}
|
||||
|
||||
$("#mycolorpicker").css('display', 'block');
|
||||
$("#mycolorpicker").fadeIn();
|
||||
colorPickerOpen = true;
|
||||
|
||||
$("#colorpickerswatches li").removeClass('picked');
|
||||
$($("#colorpickerswatches li")[myUserInfo.colorId]).addClass("picked"); //seems weird
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue