From 0b4301be9ecfb110973f65eb911d3b42e499fe4d Mon Sep 17 00:00:00 2001 From: Daniela Arcese Date: Fri, 23 Jun 2017 13:35:17 -0400 Subject: [PATCH] fix Nevermind button --- frontend/src/upload.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/upload.js b/frontend/src/upload.js index 1ef072e6..9e3ca119 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -166,7 +166,13 @@ $(document).ready(function() { // show popup del.addEventListener('click', toggleShow); // hide popup - $popupText.find('.nvm').click(toggleShow); + $popupText.find('.nvm').click(function(e){ + e.stopPropagation(); + toggleShow(); + }); + $popupText.click(function(e){ + e.stopPropagation(); + }); $('tbody').append(row); //add row to table