mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Stop click propagation when click note
This commit is contained in:
@@ -236,6 +236,8 @@ View.prototype = {
|
||||
|
||||
// Open notes when clicking them.
|
||||
$(".quicknote").click(function (event) {
|
||||
event.stopPropagation();
|
||||
|
||||
var modalnote = $("#modal-note-editable .quicknote");
|
||||
var modalid = modalnote.data('id');
|
||||
if (modalid > 0) return;
|
||||
|
||||
Reference in New Issue
Block a user