ded / bonzo

library agnostic, extensible DOM utility
Other
1.32k stars 137 forks source link

`.show()` doesn't work on an element with `.hide` #78

Closed jonathanong closed 12 years ago

jonathanong commented 12 years ago

With .hide being the style display: none;

ded commented 12 years ago

it does.... however if the default style (from external css) is display:none - then you'll have to use .show() like this: $('p').show('block')

jonathanong commented 12 years ago

ah! this is actually solves some issues for me. shouldn't it be in the docs (the default style and it taking arguments)? thanks!