Limit action message from finding more then 1 div

This commit is contained in:
2020-12-31 03:01:09 -05:00
parent 746ee6e62a
commit 2c89d42569
+1 -1
View File
@@ -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;