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:
commit
68e4f4e735
|
@ -4553,12 +4553,14 @@ function agents_get_starmap(
|
|||
var randomPoint = getRandomInteger(1, total_modules);
|
||||
let target = $(`#rect_${randomPoint}`);
|
||||
let class_name = target.attr('class');
|
||||
class_name = class_name.split('_')[0];
|
||||
setTimeout(function() {
|
||||
target.removeClass();
|
||||
target.addClass(`${class_name}_${solid}`);
|
||||
oneSquare(getRandomInteger(1, 10), getRandomInteger(100, 900));
|
||||
}, time);
|
||||
if(target.length){
|
||||
class_name = class_name.split('_')[0];
|
||||
setTimeout(function() {
|
||||
target.removeClass();
|
||||
target.addClass(`${class_name}_${solid}`);
|
||||
oneSquare(getRandomInteger(1, 10), getRandomInteger(100, 900));
|
||||
}, time);
|
||||
}
|
||||
}
|
||||
|
||||
let cont = 0;
|
||||
|
|
Loading…
Reference in New Issue