Reload only if the service was launched
This commit is contained in:
parent
919d8ec9a2
commit
ff0c52df50
|
|
@ -449,7 +449,7 @@ var tarteaucitron = {
|
|||
service = s[tarteaucitron.job[index]];
|
||||
key = service.key;
|
||||
if (tarteaucitron.state[key] !== status) {
|
||||
if (status === false) {
|
||||
if (status === false && tarteaucitron.launch[key] === true) {
|
||||
tarteaucitron.reloadThePage = true;
|
||||
}
|
||||
if (tarteaucitron.launch[key] !== true && status === true) {
|
||||
|
|
@ -471,7 +471,7 @@ var tarteaucitron = {
|
|||
return;
|
||||
}
|
||||
|
||||
if (status === false) {
|
||||
if (status === false && tarteaucitron.launch[key] === true) {
|
||||
tarteaucitron.reloadThePage = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue