Stop click propagation when click note

This commit is contained in:
Matias De lellis committed 2016-05-21 17:17:17 -03:00
1 parent bee3d91690
commit 7bc6069e76
1 file changed
+2
+2
View File
@@ -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;