correction de tous les bugs niveaux 1 (faibles)
This commit is contained in:
parent
b5bb8e7cc4
commit
f2ced83246
26 changed files with 53 additions and 38 deletions
|
|
@ -32,7 +32,9 @@ export class AdvertComponent implements OnChanges
|
|||
|
||||
onClick(): void
|
||||
{
|
||||
if(this.ad.url !== "") document.location.href = this.ad.url;
|
||||
if((this.ad.url !== "") && (this.ad.url !== null) && (this.ad.url !== undefined)) {
|
||||
document.location.href = this.ad.url;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue