It's OK, was my mistake. It's setting display to an empty string on one element and to 'none' on a different element. I missed that.