From 7bc6069e7674a04def4246301851d99e94433a7d Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Sat, 21 May 2016 17:17:17 -0300 Subject: [PATCH] Stop click propagation when click note --- js/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/script.js b/js/script.js index ea0a54a..095c4a7 100644 --- a/js/script.js +++ b/js/script.js @@ -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;