diff --git a/src/frontend/app/document/document.component.html b/src/frontend/app/document/document.component.html index 8af9bd6c26e8cc07a626a547ebf7ad0bdb9a73d8..b81db1a477660a07fe52a2ec75e6c3e11fd6439f 100755 --- a/src/frontend/app/document/document.component.html +++ b/src/frontend/app/document/document.component.html @@ -61,7 +61,7 @@ <ng-container *ngIf="(mainDocument.notes !== undefined && mainDocument.notes !== null) || hasWorkflowNotes"> <ion-fab-button *ngIf="!expandedNote" ngDraggable [bounds]="myBounds" [inBounds]="true" (movingOffset)="signaturesService.dragging=true" (endOffset)="signaturesService.dragging=false" - [title]="'lang.expandNote' | translate" (click)="expandedNote = true;" + [title]="'lang.expandNote' | translate" (click)="$event.stopPropagation(); expandedNote = true;" style="top: 40px;right: 40px;z-index:2;position:absolute;" [disabled]="signaturesService.dragging"> <ion-icon name="chatbubble-ellipses-outline"></ion-icon> </ion-fab-button> @@ -70,7 +70,7 @@ <div class="note-title"> <i class="far fa-sticky-note" style="padding-right: 5px;"></i> <span style="flex:1;">{{'lang.note' | translate}}</span> - <i class="fa fa-minus-square" style="cursor: pointer;" (click)="expandedNote = false;" + <i class="fa fa-minus-square" style="cursor: pointer;" (click)="$event.stopPropagation(); expandedNote = false;" [title]="'lang.collapseNote' | translate"></i> </div> <ng-container *ngIf="mainDocument.notes !== undefined && mainDocument.notes !== null">