[jQuery] Why does slideUp set also set display: block?

[jQuery] Why does slideUp set also set display: block?


Essentially, whenever I run the slideUp() function the css 'display'
property of that element is set to block. However this is not always
what I want; infact it is not what I want alot of the time and I have
taken to handling it via a callback function to clear the display
property but surely there is a nicer way to do this?
Anyway, my question is, why does the slide up function behave in this
manner?
Thanks,
Shhnap