Search and Top Navigation
#6236 closed bug (notabug)
Opened October 27, 2010 03:18PM UTC
Closed October 27, 2010 05:39PM UTC
Last modified October 11, 2012 09:15PM UTC
Throwing an exception from within a hide() callback creates an infinite loop
Reported by: | spudly | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.effects.core | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If a callback to the hide method throws an exception, that callback will be called again in an infinite loop. Try the following snippet in your javascript console:
$('a:first').hide('blind', function () { console.log('called'); throw new Error('test'); });
This is a bug with all animations. Please report this in the jQuery bug tracker.