Opened 9 years ago
Closed 9 years ago
#10557 closed bug (worksforme)
Toggle use ShowOrHide option from jQuery
Reported by: | n3ssi3 | Owned by: | n3ssi3 |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.effects.core | Version: | 1.11.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery.toggle provides you with the option to pass a boolean to show or hide an element. http://api.jquery.com/toggle/#toggle-showOrHide
jQuery UI overwrites toggle and ignores my boolean http://api.jqueryui.com/toggle/
When I run toggle in the console with jQuery UI in the project .toggle(false) actually works, but .toggle(true) doesn't:
body.toggle(false) [<body>…</body>] body.toggle(true) null
Change History (3)
comment:1 Changed 9 years ago by
Owner: | set to n3ssi3 |
---|---|
Status: | new → pending |
comment:2 Changed 9 years ago by
Status: | pending → new |
---|
I am not able to create a jsfiddle that causes this problem. I guess this only happens on the version the client has installed.
-> Please close this ticket
Thank you
comment:3 Changed 9 years ago by
Component: | ui.core → ui.effects.core |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Hi n3ssl3,
Thanks for taking the time to contribute to jQuery UI. Could you create a test case that shows this behavior? This is working fine for me in basic examples: http://jsfiddle.net/tj_vantoll/9kxxcrgu/.