Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

[BUG] Translate all button missing #229

Open
AlterTobi opened this issue May 20, 2021 · 1 comment
Open

[BUG] Translate all button missing #229

AlterTobi opened this issue May 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@AlterTobi
Copy link
Contributor

AlterTobi commented May 20, 2021

Describe the bug
When a submission has no supporting statement text, the "translate all" button does not appear.

To Reproduce
Need a submission without text in the "Supporting Information" box.

Error message in console:
Uncaught TypeError: Cannot read property 'innerText' of undefined
at HTMLDocument.addTranslationButtons (translationButtons.js:38)

Checking the page source I found, that those submissions do not have the "supporting-statement-central-field" DIV.

@AlterTobi AlterTobi added the bug Something isn't working label May 20, 2021
@AlterTobi
Copy link
Contributor Author

additional info:
Missing supporting info text in nominations was a bug by Nianctic
https://community.wayfarer.nianticlabs.com/discussion/17850/an-update-on-bugs-introduced-by-infrastructure-work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant