Remove console.debug from tags colorize handler
| @@ -1738,7 +1738,6 @@ function onTagRenameInput() { | |||
| 1738 | * @param {string} cssProperty - The CSS property to apply the color to | 1738 | * @param {string} cssProperty - The CSS property to apply the color to |
| 1739 | */ | 1739 | */ |
| 1740 | function onTagColorize(evt, setColor, cssProperty) { | 1740 | function onTagColorize(evt, setColor, cssProperty) { |
| 1741 | console.debug(evt); | ||
| 1742 | const isDefaultColor = $(evt.target).data('default-color') === evt.detail.rgba; | 1741 | const isDefaultColor = $(evt.target).data('default-color') === evt.detail.rgba; |
| 1743 | $(evt.target).closest('.tag_view_color_picker').find('.link_icon').toggle(!isDefaultColor); | 1742 | $(evt.target).closest('.tag_view_color_picker').find('.link_icon').toggle(!isDefaultColor); |
| 1744 | 1743 | ||
| @@ -1749,7 +1748,6 @@ function onTagColorize(evt, setColor, cssProperty) { | |||
| 1749 | $(evt.target).closest('.tag_view_item').find('.tag_view_name').css(cssProperty, newColor); | 1748 | $(evt.target).closest('.tag_view_item').find('.tag_view_name').css(cssProperty, newColor); |
| 1750 | const tag = tags.find(x => x.id === id); | 1749 | const tag = tags.find(x => x.id === id); |
| 1751 | setColor(tag, newColor); | 1750 | setColor(tag, newColor); |
| 1752 | console.debug(tag); | ||
| 1753 | saveSettingsDebounced(); | 1751 | saveSettingsDebounced(); |
| 1754 | 1752 | ||
| 1755 | // Debounce redrawing color of the tag in other elements | 1753 | // Debounce redrawing color of the tag in other elements |