Skip to main content

Search and Top Navigation

#10557 closed bug (worksforme)

Opened August 18, 2014 01:15PM UTC

Closed August 19, 2014 11:23AM UTC

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

Attachments (0)
Change History (3)

Changed August 18, 2014 01:55PM UTC by tj.vantoll comment:1

owner: → n3ssi3
status: newpending

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/.

Changed August 19, 2014 07:13AM UTC by n3ssi3 comment:2

status: pendingnew

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

Changed August 19, 2014 11:23AM UTC by scottgonzalez comment:3

component: ui.coreui.effects.core
resolution: → worksforme
status: newclosed