Skip to content

Commit

Permalink
fix(measure): desable measure button when pressed
Browse files Browse the repository at this point in the history
Prevent dual click on measure
  • Loading branch information
MathieuNls committed Nov 3, 2016
1 parent 2cfb86a commit 0dbb1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/measure/measure.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<h3 class="top">{{ 'measure-instructions-part-1' | translate }} {{ 'measure-instructions-part-2' | translate }}</h3>

<div [class.active]="active" class="main-button" (click)="measure()">
<button class="sync-button" color="primary">
<button [disabled]="active" class="sync-button" color="primary">
</button>
</div>

Expand Down

0 comments on commit 0dbb1ac

Please sign in to comment.