Skip to content

Skip section headers when initializing settings object to prevent TypeError#70

Open
janAkali wants to merge 1 commit intohobovsky:masterfrom
janAkali:fix_headers_bug
Open

Skip section headers when initializing settings object to prevent TypeError#70
janAkali wants to merge 1 commit intohobovsky:masterfrom
janAkali:fix_headers_bug

Conversation

@janAkali
Copy link
Copy Markdown

Uncaught TypeError: can't access property 0, choice is undefined
    getOrCreateSettingsObj Polyglot for Codewars.user.js:18217
    getOrCreateSettingsObj Polyglot for Codewars.user.js:18217
    glotGetOption Polyglot for Codewars.user.js:18224
    attachBoxListeners Polyglot for Codewars.user.js:18270
    attachBoxListeners Polyglot for Codewars.user.js:18265
    buildConfigDialog Polyglot for Codewars.user.js:18292
    buildPolyglotConfigMenu Polyglot for Codewars.user.js:18316
    dispatch Polyglot for Codewars.user.js:3
    handle Polyglot for Codewars.user.js:3
    n helpers.js:73
nim:18217:76

Section Items don't have a name field:

{type: 'section', label: 'General Settings'},

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.

1 participant