click on button

merge-requests/1/head
Nato Boram 2019-12-02 23:16:43 -05:00
parent cdb6d56c57
commit 55d2730a7a
No known key found for this signature in database
GPG Key ID: C035B4A0E33CF552
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<h1>Public IPFS Cacher</h1> <h1>Public IPFS Cacher</h1>
<!-- IPFS --> <!-- IPFS -->
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em" (submit)="cacheIPFS()"> <form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em">
<!-- Hash --> <!-- Hash -->
<mat-form-field> <mat-form-field>
@ -12,12 +12,12 @@
</mat-form-field> </mat-form-field>
<!-- Cache --> <!-- Cache -->
<button mat-flat-button color="primary" type="submit">Cache</button> <button mat-flat-button color="primary" type="button" (click)="cacheIPFS()">Cache</button>
</form> </form>
<!-- IPNS --> <!-- IPNS -->
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em" (submit)="cacheIPNS()"> <form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em">
<!-- Hash --> <!-- Hash -->
<mat-form-field> <mat-form-field>
@ -26,7 +26,7 @@
</mat-form-field> </mat-form-field>
<!-- Cache --> <!-- Cache -->
<button mat-flat-button color="primary" type="submit">Cache</button> <button mat-flat-button color="primary" type="button" (click)="cacheIPNS()">Cache</button>
</form> </form>