Merge branch 'ent-13029-guardia-17751-vista-de-agente-rota' into 'develop'

Ent 13029 guardia 17751 vista de agente rota

See merge request artica/pandorafms!7002
This commit is contained in:
Rafael Ameijeiras 2024-03-12 09:31:01 +00:00
commit 68e4f4e735
1 changed files with 8 additions and 6 deletions

View File

@ -4553,6 +4553,7 @@ function agents_get_starmap(
var randomPoint = getRandomInteger(1, total_modules);
let target = $(`#rect_${randomPoint}`);
let class_name = target.attr('class');
if(target.length){
class_name = class_name.split('_')[0];
setTimeout(function() {
target.removeClass();
@ -4560,6 +4561,7 @@ function agents_get_starmap(
oneSquare(getRandomInteger(1, 10), getRandomInteger(100, 900));
}, time);
}
}
let cont = 0;
while (cont < Math.ceil(total_modules / 3)) {