Skip to content
Snippets Groups Projects
Commit 95a19609 authored by Thisari Muthuwahandi's avatar Thisari Muthuwahandi
Browse files

Remove focus from the export-button after closing the dialog box

parent 97436149
Branches
Tags
No related merge requests found
......@@ -17,8 +17,7 @@ export class CommentExportComponent implements OnInit {
roomId: string;
constructor(public dialogRef: MatDialogRef<CommentCreatorPageComponent>,
private commentService: CommentService,
) { }
private commentService: CommentService) { }
ngOnInit() {
this.currentButton = 'json';
......
......@@ -26,7 +26,7 @@ export class CommentCreatorPageComponent implements OnInit {
this.commentService.exportButtonClicked(false);
if (this.dialog.openDialogs.length === 0) {
this.dialog.open(CommentExportComponent, {
width: '400px', height: '300px'
width: '400px', height: '300px', restoreFocus: false
});
}
}
......
......@@ -26,7 +26,6 @@ input {
margin-bottom: 10px;
}
.add-button {
width: 44px!important;
height: 44px!important;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment