Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update timeline.js #2592

Merged
merged 1 commit into from Apr 29, 2024
Merged

Update timeline.js #2592

merged 1 commit into from Apr 29, 2024

Conversation

Phpvarious
Copy link
Contributor

@Phpvarious Phpvarious commented Apr 28, 2024

Ajout d'un chaînage optionnel (optional chaining).

Description

Lors de l'affichage de la timeline pour un profil user, les 2 boutons sont masqués dans le php, donc le addEventListener émet une erreur TypeError: document.getElementById(...) is null

Suggested changelog entry

Correction d’une erreur js lors de l'affichage de la timeline pour un profil "utilisateur"

Related issues/external references

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

@zoic21 zoic21 requested a review from Sekiro-kost April 28, 2024 19:13
@Sekiro-kost Sekiro-kost merged commit e2ff24a into jeedom:alpha Apr 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants