Remove console.debug from tags colorize handler

9cdfb8b59636364420970355f6fbfe22ddef9abf

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +0 -2Ignore whitespace
public/scripts/tags.js+0 -2
@@ -1738,7 +1738,6 @@ function onTagRenameInput() {
1738 * @param {string} cssProperty - The CSS property to apply the color to1738 * @param {string} cssProperty - The CSS property to apply the color to
1739 */1739 */
1740function onTagColorize(evt, setColor, cssProperty) {1740function 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);
17441743
@@ -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();
17541752
1755 // Debounce redrawing color of the tag in other elements1753 // Debounce redrawing color of the tag in other elements