]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Wait for the expected target during a collapse 13330/head
authorGermán M. Bravo <german.mb@gmail.com>
Sat, 12 Apr 2014 19:44:35 +0000 (14:44 -0500)
committerGermán M. Bravo <german.mb@gmail.com>
Sat, 12 Apr 2014 19:44:35 +0000 (14:44 -0500)
commit82b066f0a91b6ff0fb5e49b43382dd44d0f35134
tree147811393623ac9521f24e638da893dfc6832b8b
parentee7498a69366c516ccba01ca7c977fb83ea23a7b
Wait for the expected target during a collapse

Actually wait for the collapsed item to complete. If complete is called
with other target, instead of simply returning and do nothing, wait again
until the proper target triggers the event (otherwise this leaves collapse
in a broken state).
js/collapse.js