because that change is done by thread_ui.js and not by compose.js after my patch.

Here it probably still works because compose_test.js is loading the real thread_ui.js, but this is wrong...

I moved this check to thread_ui_test.js instead