mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 15:47:17 +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);
|
||||
});
|
||||
|
||||
// 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.
|
||||
$('#modal-note-div #tag-button').click(function (event) {
|
||||
event.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user