louisremi/jquery-smartresize

Infinite interval in jquery.throttledresize.js

Opened this issue · 3 comments

Hello, just found out, that the setInterval is called once in jquery.throttledresize.js and clearInterval is never called. So the function is run every 30ms infinitely.
Before it was
$(dummy).animate(
...
$(dummy).stop();
...
);
and now the animate was changed into setInterval, so $(dummy).stop(); should be changed into clearInterval.

@MrEd69 How about a pull request?

@1951FDG I have never used git, so I don't know anything about pull, push or anything (I'm using SVN). I am just reporting a bug here.

@MrEd69 Ok. If you could share the exact changes, by uploading your modified version, I could fork this repository, commit your changes and do a pull request.