mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Open tag dialog when click the tag on modal
This commit is contained in:
@@ -431,6 +431,12 @@ View.prototype = {
|
|||||||
self._editableColor(color);
|
self._editableColor(color);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Handle tags on modal
|
||||||
|
$('#modal-note-div').on('click', '.slim-tag', function (event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
$('#modal-note-div #tag-button').trigger( "click");
|
||||||
|
});
|
||||||
|
|
||||||
// handle tags button.
|
// handle tags button.
|
||||||
$('#modal-note-div #tag-button').click(function (event) {
|
$('#modal-note-div #tag-button').click(function (event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
Reference in New Issue
Block a user