From 550ed290aaa7c76b7eddf604b48a2adec1d4b1eb Mon Sep 17 00:00:00 2001 From: Deborah Date: Wed, 24 Apr 2024 09:22:31 +0100 Subject: [PATCH] prettier fix file --- src/app/components/dialog/dialog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/dialog/dialog.ts b/src/app/components/dialog/dialog.ts index 258227458e6..01bd042f87a 100755 --- a/src/app/components/dialog/dialog.ts +++ b/src/app/components/dialog/dialog.ts @@ -706,7 +706,7 @@ export class Dialog implements AfterContentInit, OnInit, OnDestroy { } initDrag(event: MouseEvent) { - if (DomHandler.hasClass(event.target, 'p-dialog-header-icon') || DomHandler.hasClass(event.target, "p-dialog-header-close-icon") || DomHandler.hasClass((event.target).parentElement, 'p-dialog-header-icon')) { + if (DomHandler.hasClass(event.target, 'p-dialog-header-icon') || DomHandler.hasClass(event.target, 'p-dialog-header-close-icon') || DomHandler.hasClass((event.target).parentElement, 'p-dialog-header-icon')) { return; }