Hi,
I’m dealing with some code that looks like this:

element.parent().bind("sizeChange",function() { self.size.call
(context); });

The line of code is part of a custom-made library intended to display
a <div>-based popup window and size it according to the window size.

In jQuery 1.2.6, this code worked fine. I switched to 1.3.2 recently
and now I notice that this line of code cause both FF 3 and IE 8
(probably others, too) to start running furiously until I kill the
browser, as if it were in an infinite loop. My guess is that
self.size.call is triggering another sizeChange event, which results
in an infinite loop. What I don’t know is why this worked in jQuery
1.2.6 and not in 1.3.2. Any ideas of what changed and how to fix?

-       Jonathan

Reply via email to