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