mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Open tag dialog when click the tag on modal
This commit is contained in:
1 parent
e42a135048
commit
dc91b8756f
1 file changed
+6
@@ -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