Limit action message from finding more then 1 div
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user