popovers: Improve label for choosing colors.

This commit is contained in:
Tim Abbott 2020-06-10 09:55:51 -07:00
parent 7585776c76
commit 26083e4b10
3 changed files with 5 additions and 5 deletions

View File

@ -413,8 +413,8 @@ exports.register_stream_handlers = function () {
e.stopPropagation();
});
// Choose custom color
$('body').on('click', '.custom_color', function (e) {
// Choose a different color.
$('body').on('click', '.choose_stream_color', function (e) {
update_spectrum($(e.target).closest('.streams_popover'), function (colorpicker) {
$('.colorpicker-container').show();
colorpicker.spectrum("destroy");

View File

@ -54,9 +54,9 @@
</li>
<li>
<span class="colorpicker-container"><input stream_id="{{stream.stream_id}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
<a class="custom_color">
<a class="choose_stream_color">
<i class="fa fa-eyedropper" aria-hidden="true"></i>
{{t "Choose custom color" }}
{{t "Change color" }}
</a>
</li>

View File

@ -9,7 +9,7 @@ stream. Changing a stream's color does not change it for anyone else.
{!stream-actions.md!}
1. Pick a color from the grid, or select **Choose custom color**.
1. Pick a color from the grid, or select **Change color**.
{end_tabs}