From e98f2883022fe8899c6bfd9720da6c6e264d1173 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Thu, 30 May 2024 09:47:38 +0200 Subject: [PATCH] style: lint --- client/src/app/directives/steal-focus.directive.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/app/directives/steal-focus.directive.ts b/client/src/app/directives/steal-focus.directive.ts index d806090..9468d40 100644 --- a/client/src/app/directives/steal-focus.directive.ts +++ b/client/src/app/directives/steal-focus.directive.ts @@ -1,18 +1,17 @@ -import { Directive, HostListener } from '@angular/core'; +import { Directive, HostListener } from '@angular/core' @Directive({ selector: '[appStealFocus]' }) export class StealFocusDirective { - - constructor() { } + constructor() {} /** * For some reason newest version of Clarity v17.0.1 is stealing focus when * clicking on the input inside of the clr-tree-view * This is workaround */ - @HostListener('click', ['$event']) onClick(event: any){ + @HostListener('click', ['$event']) onClick(event: any) { event.target.focus() } }