Board Thread:Support Requests - Getting Technical/@comment-26009167-20150223134640/@comment-26009167-20150223172733

452 wrote: Odd, I use importArticles for my chat scripts. I just tested it in the Chat here, and it works fine... just not with your example.

The error "Cannot read property 'appendChild' of undefined" is a problem with the scripts you're loading, not a problem with importArticles.

edit: after some testing, the problem is in "ChatObject", and moving it to the end fixes the problem.

importArticles({   type: 'script',    articles: [        'u:dev:ChatOptions/code.js',        'u:dev:ChatTags/code.js',        'u:dev:ChatObject/code.js'    ] }); Thanks. I think for now I might leave it like this, just to avoid future problems in case I or another admin forgets to leave ChatObject like that.