[wp-trac] [WordPress Trac] #21531: Twenty Twelve:
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 9 23:02:54 UTC 2012
#21531: Twenty Twelve:
---------------------------+-----------------------------
Reporter: Jayjdk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: minor | Keywords: has-patch
---------------------------+-----------------------------
In Twenty Twelve, clicking the "Show navigation" button many times in a
row causes a queue build up, where the navigation just slides up and down
till it's done.
I've attached a patch that adds `.stop()` before `.slideToggle()`
"''When .stop() is called on an element, the currently-running animation
(if any) is immediately stopped''" - http://api.jquery.com/stop/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21531>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list