From 2c89d4256922959b0a23760aaee7eb4ca9d736c5 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Thu, 31 Dec 2020 03:01:09 -0500 Subject: [PATCH] Limit action message from finding more then 1 div --- nodejs/public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/public/js/app.js b/nodejs/public/js/app.js index ab0afef..8baa0ac 100755 --- a/nodejs/public/js/app.js +++ b/nodejs/public/js/app.js @@ -254,7 +254,7 @@ app.util = (function(app){ function actionMessage(message, $target, type){ message = message || ''; - $target = $target.closest('div.card').find('.actionMessage'); + $target = $($target.closest('div.card').find('.actionMessage')[0]); type = type || 'info'; if($target.html() === message) return;