Merge pull request #8412 from opf/fix/33380/log-time--keyboard-accessible

[33380] Fix: Make 'Log time' link accessible via keyboard
pull/8414/head
Henriette Darge 4 years ago committed by GitHub
commit 734c280d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      frontend/src/app/modules/fields/display/field-types/wp-spent-time-display-field.module.ts

@ -78,6 +78,7 @@ export class WorkPackageSpentTimeDisplayField extends DurationDisplayField {
if (this.resource.logTime) {
const timelogElement = document.createElement('a');
timelogElement.setAttribute('class', 'icon icon-time');
timelogElement.setAttribute('href', '');
timelogElement.textContent = this.text.logTime;
element.appendChild(timelogElement);

Loading…
Cancel
Save