mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Revert "[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8119)" (#8159)
This reverts commit 067d4e9369
.
This commit is contained in:
@@ -46,12 +46,6 @@ export class ClipboardDirective {
|
||||
event.stopPropagation();
|
||||
this.copyToClipboard();
|
||||
}
|
||||
@HostListener('window:keydown.enter', ['$event'])
|
||||
handleKeyDown(event: KeyboardEvent){
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.copyToClipboard();
|
||||
}
|
||||
|
||||
@HostListener('mouseenter')
|
||||
showTooltip() {
|
||||
|
Reference in New Issue
Block a user