Tiny hack to sent click event to colorPicker... Issue #74

This commit is contained in:
Matias De lellis
2021-12-03 09:17:24 -03:00
parent d16203c691
commit bb3a9b745d

View File

@@ -512,6 +512,11 @@ View.prototype = {
);
});
// FIXME: Hack to sent click event to colorPicker.
$('#modal-note-div .icon-toggle-background').click(function (event) {
$(this).parent().click();
});
// handle attach button.
$('#modal-note-div #attach-button').click(function (event) {
event.stopPropagation();