button.className space

button.className had a space after the single quotes. This would disable the small menu toggle :)