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